Ticket #519 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

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

Reported by: alilucio Owned by:
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 Download (1.9 KB) - added by crschmidt 6 years ago.

Change History

Changed 6 years ago by euzuro

  • milestone changed from 2.3 Release to 2.4 Release

Changed 6 years ago by crschmidt

Changed 6 years ago by crschmidt

  • keywords review added

Changed 6 years ago by sderle

  • keywords review removed
  • status changed from new to closed
  • resolution set to fixed

applied as r2817

Note: See TracTickets for help on using tickets.