[OpenLayers-Users] Drag feature control slow in IE

Andre Pereira de Matos andre.matos at co.sapo.pt
Tue Jan 13 12:56:01 EST 2009


Yes, the same issue occurres when you used this example on IE.

Is it a bug? Any plans/suggestions to fix it?

Regards,
André Matos
http://maps.sapo.pt


-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On Behalf Of Frédéric Junod
Sent: terça-feira, 13 de Janeiro de 2009 15:03
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] Drag feature control slow in IE

Hi,

Do you have the same issue with
http://openlayers.org/dev/examples/drag-feature.html ?

Your code looks reasonable to me ...

fredj

Le Tue, 13 Jan 2009 14:43:46 +0000,
Andre Pereira de Matos <andre.matos at co.sapo.pt> a écrit :

> Hi list,
>
> I have done an example with a draggable feature (with DragFeatureControl). In
> Firefox, Google Chrome works fine... But when I drag it on IE it is very
> slow...
>
> The code used is:
>
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>
> markersLayer = new OpenLayers.Layer.Vector("Markers",
>                                                                                                               {
>                                                                                                                              projection:
> new OpenLayers.Projection("EPSG:4326"), styleMap: new OpenLayers.StyleMap({
>                                                                                                                                              externalGraphic:
> "http://openlayers.org/dev/img/marker-gold.png", backgroundGraphic:
> "http://openlayers.org/dev/examples/marker_shadow.png", graphicYOffset: -20,
>                                                                                                                                              backgroundXOffset:
> 0, backgroundYOffset: -17,
>                                                                                                                                              pointRadius:
> 10 })
>                                                                                                               }
>                 );
>
>                 map.addLayer(markersLayer);
>                 feature1 = new OpenLayers.Feature.Vector(new
> OpenLayers.Geometry.Point(-1904105.3415234375, 4392319.753066596)); feature2
> = new OpenLayers.Feature.Vector(new
> OpenLayers.Geometry.Point(-1504105.3415234375, 4392319.753066596));
> markersLayer.addFeatures([feature1, feature2]);
>
>                 var ccontrol = new
> OpenLayers.Control.DragFeature(markersLayer); map.addControl(ccontrol);
>                 ccontrol.activate();
>
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>
> Any suggestions? Is it a bug? Will it be fixed?
>
> Regards,
> André Matos
> http://maps.sapo.pt
>


--
Frédéric Junod
Camptocamp SA
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users


More information about the Users mailing list