Map Zooming issue on Android

41 views
Skip to first unread message

Łukasz Reszetow

unread,
Sep 20, 2023, 5:56:08 AM9/20/23
to Leaflet
Hey!

We've recently encountered an issue that probably is not even caused by Leaflet, but it might be in some way related to it so I felt like it's the best place to ask.

We are displaying Leaflet map in the WebView in both Android and iOS applications (written natively). We've encountered an issue, that whenever you start quickly zooming in/out on Android devices, we receive an unknown error. This might be thrown by the browser not the Leaflet app but we would like to know why it's happening.

Our suspicion is that when user tries to do multiple zoom requests one after the other only the last request is relevant and all the other are ignored / are not relevant anymore. The error might be how the browser handles aborted requests. 

This tho, does not happen in iOS application. We've tested bunch of Android devices and it is happening on all of them.

Have you ever encountered something similar? Do you know what my cause it and maybe how to avoid those errors?

Regards
Łukasz
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages