Skip to content
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

Base Map Toggle #90

Open
stdavis opened this issue Aug 30, 2021 · 0 comments
Open

Base Map Toggle #90

stdavis opened this issue Aug 30, 2021 · 0 comments

Comments

@stdavis
Copy link
Member

stdavis commented Aug 30, 2021

I ran into problems attempting to get a control built to toggle between the Lite and Hybrid base maps. Here is my attempt: 4c80f3f

It appears that react-native-maps doesn't like to update when there is a change to either the urlTemplate prop of UrlTile or an entirely new UrlTile component. I'm not sure that MapView is set up to detect changes to its layers after it's been loaded.

Related to #72

@stdavis stdavis mentioned this issue Aug 30, 2021
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant