How can I programmatically move an existing marker on an OpenLayers.Layer.Markers layer? I can\'t seem to find a proper way.
OpenLayers.Layer.Markers
Is this supported at all? O
if you have lon/lat for the new point then marker could be moved as:
var newLonLat = new OpenLayers.LonLat(lon, lat); var newPx = map.getLayerPxFromLonLat(newLonLat); myMarker.moveTo(newPx);