OpenLayers OpenLayers

Ticket #519 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Marker doesn't update its lonlat after moveTo is called.

Reported by: alilucio Assigned to:
Priority: minor Milestone: 2.4 Release
Component: general Version: 2.3 RC3
Keywords: Cc:
State:

Description

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.

Attachments

marker.patch (1.9 kB) - added by crschmidt on 03/18/07 09:35:47.

Change History

03/08/07 13:49:59 changed by euzuro

  • milestone changed from 2.3 Release to 2.4 Release.

03/18/07 09:35:47 changed by crschmidt

  • attachment marker.patch added.

03/18/07 09:36:17 changed by crschmidt

  • keywords set to review.

03/19/07 10:46:48 changed by sderle

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.

applied as r2817