Buncha map tune-ups

Rob Miller · Friday Demos · November 7, 2025 · 2:28

We improved color opacity and layering for maps to make sure they maintain readability while still looking great.

Try it yourselfThe full week on docsmapsvisualization

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Sure you are. Let's do it. I was in a couple of customer chat rooms this week and saw a couple similar requests come through. Uh so I that didn't seem that difficult. So I just decided to pick something pick it up and see how far I could get today. Uh and so I ran with it.

  2. Uh and so now we have you can now use opacity and colors on maps. Uh so uh we kind of already have the the concept in our color picker. Uh but you can use opacity in there and there was a bug in Mapbox or Mapbox code that prevented it before, but now you can do things like use less intense colors on uh on maps in general.

  3. Uh you can also play with the outline color. So I've exposed that as well. Uh so it works for both uh point maps uh regions as well. So you can play with those. Um if I actually drag something in there. So this is actually you can see the difference between opacity and not. So uh our pallets don't really have any but you can define pallets with opacity in them uh and use them instead and change colors if you want.

  4. So that didn't I missed there it goes. Uh so I think that's what else I think that's everything. It's mostly outline color and opacity. Uh we also uh changed our default for regions. Uh so this is a default let me do it the other way. This is a default region uh currently on playground. Uh, and we're basically leveraging opacity now in the default and making it a little more light and or dark mody.

  5. Uh, so matching the default outline to the actual uh theme that you're using. Um, and one last thing uh on playground, if you actually zoom into a a map far enough, you can see that we tend to lay over labels. Uh, well, I figured out why we were doing that. So, we shouldn't do that anymore. And it'll actually render labels over on top on top of uh regions.

  6. And that's it.