Leaflet.DistortableImage icon indicating copy to clipboard operation
Leaflet.DistortableImage copied to clipboard

images are briefly displayed at original dimensions/resolution at very low zoom levels

Open jywarren opened this issue 10 years ago • 4 comments

You can reproduce in Chromium, not sure about other browsers, at http://publiclab.github.io/Leaflet.DistortableImage/examples/select.html when you zoom to see almost all the whole earth. Screenshot:

leafletbug

I theorize that this may be a divide by zero or a rounding/precision issue as the corners get very close together.

jywarren avatar Jan 23 '15 16:01 jywarren

This was unrelated to #40 or #34 - it still occurs.

jywarren avatar Jan 30 '15 17:01 jywarren

For me using Chrome, I only see this error while zooming is animating. Before and after the zoom animation, I don't see the image.

I think this is another issue related to transitions, possibly related to #42

btbonval avatar Feb 09 '15 05:02 btbonval

Interestingly, #42 is a FireFox issue but I can't reproduce it in Chrome. This issue appears in Chrome, but FireFox handles the zooming just fine at all levels in this issue.

btbonval avatar Feb 09 '15 05:02 btbonval

While reviewing the link in #43, I notice a similar behavior to this issue in both FF and Chrome on Windows. Here's the link: http://test.mapknitter.org:3000/map/bronson-canyon-in-griffith-park

I'm seeing a single image stick out when I zoom out far enough, but only during the transition animation.

Unrelated to this issue, IE on Windows totally messes up the link above.

btbonval avatar Feb 09 '15 05:02 btbonval