Vector Tiles for MapBox Streets

Mapbox
maps for developers
3 min readMay 13, 2013

--

By Young Hahn

MapBox has developed an open source vector format to power the future of our web maps. Vector tiles rethink web maps from the ground up, providing a single efficient format to power raster tiles, interactive features, geojson streams, mobile renderers, and much more.

The MapBox team quietly started powering MapBox Streets, our worldwide base map, with vector tiles several months ago. Now with hundreds of millions of map views across thousands of subscribers, the stability and scalability wins are clear. We want to share our vision for where we are taking vector tiles and what this means for the future direction of MapBox.

Hand-drawn Paris in Pencil

Shinjuku is even more exciting in Comic Map!

Ships sail the seas in Pirates Return

DC is a little different in Zombie World

Incredible styling

In addition to developing this new vector tile format, we have rebuilt our entire platform to have vector tiles at its core. Mapbox Studio, our next-generation map design software, is built on vector tiles to produce custom cartography. Design iterations can happen in seconds and be applied to a full global vector tileset without lengthy downloads, imports, or time spent tuning database queries. In short, anyone will be able to make a totally custom branded map, of the entire globe, that is lighting fast on every device. Removing traditional bottlenecks from the creative process has allowed our cartographer AJ Ashton to give us a glimpse of what’s to come.

Next style

One format

Our format defines a protobuf schema that can pack layers, geometries, and feature attributes from any datasource into individual vector tiles. Once converted, the original datasource — shapefile, geojson, postgis database — is no longer necessary. Paired with a renderer like the super fast Mapbox GL, vector tiles can be rendered realtime, in the browser. And the possibilities are wide open for rendering directly on mobile devices or in the browser.

Star the Mapbox Vector Tile Specification on GitHub

Perfect for OpenStreetMap

Vector tiles are designed to leverage the global scale of trillions of local details in OpenStreetMap. Additional OpenStreetMap tags allow map labels to be switched between multiple languages on the fly. And vector tiles can easily handle the rapid rate of updates to OpenStreetMap. Edits to the map show up on MapBox Streets and any custom styles within a matter of minutes.

Start editing OpenStreetMap in iD

Big world, small footprint

Our vector tile-powered MapBox Streets dataset is highly optimized, slim enough to fit the entire world onto a single USB stick. By packing detailed data into lower zoom levels, vector tiles allow the highest zoom levels to be rendered at a fraction of the storage cost of raster tiles. Vector tiles point toward a radically more custom mapping future for mobile and offline applications that can cache more efficiently and render indefinitely from the same slim dataset.

Get in touch

Get in touch if you have a special use case for vector tiles — custom styles, offline or mobile maps, custom rendering, or more. We’re working with a handful of select partners on advancing this exciting technology and you may be the next.

— May 13 2013

Young Hahn

Tweet: “Vector Tiles for MapBox Streets”

Related posts:

--

--

mapping tools for developers + precise location data to change the way we explore the world