Hello - I'm struggling from the documentation to see how to set a worldview for the map. I'm using a Mapbox map from a style URL, derived from one of the basic style templates.
Ideally, I'd like to change the country boundaries and labels based on whether a user is in India or the US. As a fallback, I'd be happy to set a fixed worldview (in this case IN) - e.g. from Mapbox Studio for the style itself.
Hello - I'm struggling from the documentation to see how to set a worldview for the map. I'm using a Mapbox map from a style URL, derived from one of the basic style templates.
Ideally, I'd like to change the country boundaries and labels based on whether a user is in India or the US. As a fallback, I'd be happy to set a fixed worldview (in this case IN) - e.g. from Mapbox Studio for the style itself.
This article suggests a "setFilter" method is available, though I'm not sure if/how this is exposed via the package: https://blog.mapbox.com/dynamically-change-disputed-national-borders-14c820cae923
Thanks!