[OpenLayers-Users] Markers incorrectly placed after pan

gwales gary_wales at hotmail.com
Thu May 7 04:33:23 EDT 2009


I am working on a viewer for GPX data which is mostly operational.

When loaded, a marker is placed at the start of the vector representing the
GPX file.

I have included a 'play' button which advances the marker along the track.

All works well until the map is panned and then the marker is offset from
the track by the amount of the pan.

Zooming or changing the window size causes the marker to snap back into
place.

http://www.munromagic.com/dev/GPXMap.cfm?RouteLogID=134408

An ideas how to fix this? 
-- 
View this message in context: http://n2.nabble.com/Markers-incorrectly-placed-after-pan-tp2826723p2826723.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list