Why do my kml polygons move during zoom (using leaflet and meteor with OpenStreetMap)

المشرف العام

Administrator
طاقم الإدارة
I'm using meteor.js and leaflet.js to build a simple application that displays kml polygons on an openstreetmaps layer. I can get the polygons to display fine, but during a zoom operation the polygons move, which is particularly disorienting for users on a mobile pinch-to-zoom device.

Single points do not have this issue. Can anyone point me in the right direction?

A copy of my code is running at newmaps.meteor.com

Please be patient, the dev meteor server is slow to load. You will see a map with a polygon and a marker, note the difference in behaviour between polygon and marker during a zoom operation.



أكثر...
 
أعلى