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
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
