-
Notifications
You must be signed in to change notification settings - Fork 696
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
How do I add/remove and show/hide a layer at runtime? #789
Comments
@RNMBuser you can add/remove layers and sources by just removing them as children of your MapView. I'll look into RasterLayer visibility |
Closing this out since the fix has been merged into master |
I am new in react native mapbox. I was using mapbox gl js. I have done using mapbox gl js for website. how can i do using react native mapbox gl? |
@nitaliano can you help me to change layer visibility at run time? |
Can this layer reference a source layer in the styleURL?
I tried to use the RasterLayer visibility, with no success.
I will appreciate an example!
The text was updated successfully, but these errors were encountered: