dan674
dan674

Reputation: 2127

Mapbox - styling color of "off the map" area

I'm using the Mapbox library for React Native. When the user is zoomed out with a pitch ("3D mode"), they can see "off the map". This "off the map" colour is the same as the "on map" land colour and it doesn't look great. I was wondering how I could change the style/colour of "off the map", or if there's another nice way to handle this. Thanks!

screenshot of map

Upvotes: 1

Views: 623

Answers (1)

BDD
BDD

Reputation: 715

It's going to depend on what style you're using. I believe all the styles take the color of the land (which is why you're seeing the green).

If you create your own style from scratch, you can adjust the background layer to reflect the color you'd like to see.

studio gif

Upvotes: 2

Related Questions