leaflet-truesize icon indicating copy to clipboard operation
leaflet-truesize copied to clipboard

Polygons move when you zoom on a mobile device

Open alasdairrae opened this issue 1 year ago • 0 comments

This is a great plugin, thanks so much. One thing I cannot solve is that when I move a polygon (e.g. on my example map below) and then zoom in on mobile devices the polygon jumps around. This is how it works

  1. I move the polygon as on desktop device, that works fine, but not on mobile. On mobile devices:
  2. I then zoom in or out and the polygon doesn't remain fixed in the same place on the map, it jumps to another location.
  3. It keeps doing this as I zoom in or out, but it only happens to me on mobile.

I was just wondering if anyone else had observed this and if there is a fix? I can't seem to find a solution.

https://automaticknowledge.org/truesize-leaflet/

alasdairrae avatar May 23 '23 09:05 alasdairrae