I have create a marker, and I have to update it postition.

So I use the moveTo method:

marker.moveTo(marker.map.getPixelFromLonLat(lonlat));

Live Exmaple: <http://jsfiddle.net/3pPB3/>

Once you move the map, the marker will be located at the wrong place, why?
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to