Skip to content
Discussion options

You must be logged in to vote

Easiest should be to dynamically render the layers as components instead of using the mapStyle prop. Any layer from a style JSON can be "translated" into the corresponding layer component within MapLibre React Native. Using the layers you can just update the filter props, see this example which uses the filter prop.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simon-milleto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants