-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map tile not loading in ios webview #5141
Comments
Hi, this issue involves React, WebView and the iOS simulator. The Leaflet team does not work with, or support these tools, so I'm afraid we can't help you with this one. Given the very simple example, it's pretty apparent that the problem does not lie in Leaflet itself, but rather how it interacts with one of the other components. We are open to making changes to Leaflet the make it work better with other tools, but unfortunately do not have the resources to work out issues in other frameworks or tools. If you can provide a failing example using just Leaflet, JavaScript and HTML/CSS, we're of course very open to working with this. |
Thank you for reply. I was because of http requests, and when I disabled the ATS ( App Transport Security ) it works fine and the tiles are loaded. But as you know disabling the ATS is not the solution. According to the @F1LT3R answer in the issue Streaming Leaflet Tiles over HTTPS / SSL #3186 we can use https for loading tiles and changing the osm to openstreetmap in the tile url ( |
@arminghm, thanks a lot, it works for me :) |
Thanks @arminghm, it worked for me too ! |
Hi,
Im using react native.
This is my map.html file :
and Im loading map.html into webview :
But the tile not loading in ios simulator, but its fine in android emulator.
This is what I see in ios simulator :
The text was updated successfully, but these errors were encountered: