talira

Protomaps

An open source map of the world in a single file

open sourceBSD-3-Clausefree

Protomaps is an open source way to serve your own interactive web maps without running a tile server. Its PMTiles format packs a whole pyramid of map tiles into one file that browsers read from ordinary cloud storage with HTTP range requests, and Protomaps publishes a free world basemap built from OpenStreetMap that you can download whole or cut to your area with the pmtiles CLI. Libraries for MapLibre, Leaflet and OpenLayers display the maps. A hosted tile API with a free monthly allowance is also offered; commercial use of it means becoming a GitHub Sponsor.

Problems it solves

  • self-host a world map for my website without running a tile server
  • our Google Maps or Mapbox bill is too high for simple map embeds
  • serve vector map tiles straight from S3 or another bucket

Features

  • PMTiles: a whole tile pyramid in one static file
  • served from cloud storage with HTTP range requests
  • free OpenStreetMap basemap to download or extract
  • pmtiles CLI to extract areas and convert tiles
  • MapLibre, Leaflet and OpenLayers plugins

Alternatives

The same job

These do what Protomaps does.

  1. MapLibre GL JS Open-source TypeScript library for interactive vector tile maps in the browser
  2. TileServer GL Vector and raster maps with GL styles

Compare Protomaps with the top 3