-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Google Maps TMS URL tile support #2732
Google Maps TMS URL tile support #2732
Conversation
Hi there, for our app we forked react-native-maps to allow use to display TMS tiles (origin coordinate is at the bottom right instead of the top left) using the Google Maps component and thought it might be useful to merge into the base repo! |
LGTM @alvelig @christopherdro 🐽 |
@arosendorff Thank you for this. Any chance you add the recommendation from the other PR to add support for iOS as well? |
@christopherdro Yeah I can add that quickly! |
@alvelig @christopherdro I have updated the PR to include the flip for Apple Maps. Let me know if it all looks good to you! |
hello @arosendorff I can see that your PR has really close to the issue that I'm trying to solve right now. Please, could you take a look at #2733 . Thank you so much! |
* Implement ability to flip y coordinate for Google Map tiles. * Update README to detail method of inverting tile y coordinates. * Update MapUrlTile to include flipY prop. * Implement using flipped y tiles on Apple Maps.
Does any other open PR do the same thing?
#2118
This PR has merge conflicts and has appeared to have stalled.
What issue is this PR fixing?
None
How did you test this PR?
flipY
to ensure that the correct tile is displayed, and both in the same place.This has been tested on iOS simulator, and Android and iOS devices.