-
Notifications
You must be signed in to change notification settings - Fork 4.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
Missing Tiles when using UrlTile component #4477
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still an issue. I'd love help in knowing where to get started in fixing this. |
I did some more looking into this issue today and found through the network inspector that the tiles are being requested and returned successfully. So it's not a network/request issue. The tiles are making it to the device successfully. |
Before this change, the else if statement on 216 would never run since the condition (`image == null && !this.offlineMode`) matches the previous if statement. Making it an independent if statement fixes the issue. Fixes: react-native-maps#4477
Before this change, the else if statement on 216 would never run since the condition (`image == null && !this.offlineMode`) matches the previous if statement. Making it an independent if statement fixes the issue. Fixes: react-native-maps#4477
Before this change, the else if statement on 216 would never run since the condition (`image == null && !this.offlineMode`) matches the previous if statement. Making it an independent if statement fixes the issue. Fixes: react-native-maps#4477
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue remains relevant, simply comment |
This is still relevant but will hopefully be closed soon. |
Before this change, the else if statement on 216 would never run since the condition (`image == null && !this.offlineMode`) matches the previous if statement. Making it an independent if statement fixes the issue. Fixes: react-native-maps#4477
Before this change, the else if statement on 216 would never run since the condition (`image == null && !this.offlineMode`) matches the previous if statement. Making it an independent if statement fixes the issue. Fixes: #4477
🎉 This issue has been resolved in version 2.0.0-beta.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
I'm seeing missing tiles very regularly in my map when using a custom tile provider via
UrlTile
. This is on Android only. I never see missing tiles in iOS.Samsung Galaxy S8 (Android 9)
Google Pixel 4 (Android 13)
Reproducible sample code
Steps to reproduce
Open this map in an expo dev client and zoom and pan around. It never takes me more than a few seconds to find tiles that do not load.
Please note that this is a temporary base map URL that will expire in 4 weeks since this is licensed imagery.
Expected result
I expect every tile to load. This is my experience in iOS. I also use this base map service in many other apps and I don't have the issue of missing tiles.
Actual result
Random tiles never load.
React Native Maps Version
1.3.1
What platforms are you seeing the problem on?
Android
React Native Version
0.69.6
What version of Expo are you using?
SDK 46
Device(s)
Google Pixel 4 (Android 13), Samsung Galaxy S8 (Android 9)
Additional information
Thanks for the AWESOME project!
The text was updated successfully, but these errors were encountered: