Self-Hosted Maps

Will Chase · Friday Demos · September 25, 2026 · 5:59

Will demos self-hosted web maps in apps using Protomaps tiles and MapLibre, replacing paid Mapbox and Carto dependencies. Tiles are hosted on Omni's own AWS instance at roughly 1/100th the…

Try it yourselfThe full week on docsappsmapsvisualization

Transcript

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

  1. OK. There has been a lot of buzz around cards lately. In particular, regarding maps in applications. So, I'm going to ask Lobby a question now, and then I'll talk a little bit, hoping that everything works out as it should. Let's say you create an app for me that shows the location of distribution centers . Many of our customers built apps with maps, and then their maps started disappearing.

  2. This happened because many of them were using Carto, and they seem to have restricted access to free keys. Map providers like Mapbox and Carto expect to charge for their services beyond a fairly limited free plan . And it's expensive. We currently use Mapbox in our map visualization editor. Works great. But we pay for it. This costs a lot of money.

  3. And now that people start building apps, it's going to end up costing more and more . In addition, there are strange problems with key types: even paid versions have certain limits, you have to update them, constantly generate new ones—it's a real headache. So there are other options for web mapping. In particular , there is a technology such as Protobuf.

  4. Thanks to it, you can use these map fragments. Mapbox and other providers work like this: they have a huge file. A detailed view of the entire planet takes up hundreds of gigabytes. Of course, you don't want to provide that much data directly. Therefore, they create different levels of detail for different scales and serve them as tiles that are loaded dynamically on the Internet.

  5. We can do it ourselves. We just need to host them on our own server. So, what you see now is a map in the app. This is what Lobby will soon default to . And for this we use Protobuf and MapLibre. This is a full version of web maps, hosted on our own facilities. These are tiles that are currently hosted on our own AWS instance.

  6. Many thanks to Brian for his help with setting this up on AWS. And the MapLibre library makes all of this work under the hood. This is actually a fork of the open source library from Mapbox, which was open source for years until they switched to a closed model. So yes, it works very, very similarly to Mapbox and any other similar provider.

  7. Let's see, it goes into dark mode if you turn on dark mode, and into light mode if you turn on light mode. And yes, the big advantage is that this can be a standard option for customers, they can just use it right away. We host it ourselves , so there are no restrictions, and it costs about 1/100 of what we would pay another provider.

  8. Well, are we going to teach Blobby who used it? How does he know whether to use us, Carto, or come up with something on the fly? What is the approach here? Yes, it's just written in the instructions at the moment. We give Blobby a standard recipe: every time he wants to create a map, he has to use this recipe.

  9. And I think it's still possible if people don't want it, they can separately say to Blobby: I want you to use Carto, Mapbox or something else. But this, of course, brings with it all the problems for which we do n't yet have perfect solutions, like using your own key, etc. Maybe in the future we will do that.

  10. But yeah, that's just part of the instructions for Blobby. Steeply. Will, can you give us an understanding of what regions are defined here? Sure, states and provinces , but what about postal codes, area codes, etc.? Do you know if this is available? Not now, not natively. So, as you said, there are states. The base map is customized by us, right?

  11. Since we host these tiles ourselves, if we want to change anything, like add different layers or change the style, we can do so. If you want to add things like zip codes or custom layers and regions, the best way is to provide GeoJSON for that. And then you can layer it on top of this. We still need to think about hosting resources for such things.

  12. So, I don't think we have a great solution in applications for this today, unless you ... Well, you would have to put the GeoJSON somewhere on the web and provide a link to it. And I'm not even sure if this will work with our sandbox, actually, but I guess this is the future solution. Well , thank you.

  13. Chris, thank you.