[OpenLayers-Trac] [OpenLayers] #519: Marker doesn't update its lonlat after moveTo is called.
OpenLayers
trac at openlayers.org
Wed Mar 7 14:17:48 EST 2007
#519: Marker doesn't update its lonlat after moveTo is called.
----------------------+-----------------------------------------------------
Reporter: alilucio | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.3 Release
Component: general | Version: 2.3 RC3
Keywords: |
----------------------+-----------------------------------------------------
When calling "moveTo" the lonlat of the marker is not updated. This will
cause a problem when the Layer.Markers layer redraws the markers from
their lonlat, so the marker will be drawn at the position before the the
call to moveTo. This can be solved with adding "this.lonlat =
this.getLonLatFromLayerPx(px);" to the bottom of the "moveTo" function in
OpenLayers.Marker.
--
Ticket URL: <http://trac.openlayers.org/ticket/519>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list