A Protomaps Map Bundle is a self-contained, downloadable package of software and tiled cartographic data that makes it easy to self-host custom cartographic applications.
Users are limited to bundles of 500,000 nodes; this is enough to cover small cities, or neighborhoods in densely mapped areas. For information on larger bundles - up to hundreds of millions of nodes - please contact [email protected]
After downloading a Map Bundle from protomaps.com/bundles , unzip the downloaded ZIP file and run the demo.py
program:
python demo.py
This should open the location localhost:3857
in your web browser, zoomed to the location of the map bundle.
Access-Control-Allow-Origin
) and Content-Encoding:gzip
to let browsers access tiles from the storage API directly.Choosing leaflet
will include example code in index.html as well as a style.yaml file for the Tangram JS renderer, with default values for source
and bounds
. The source
of this style file can be changed to point to a different tile source path.
Choosing mapboxGL
will include example code for the MapboxGL renderer as well as an example style.json
, with default values for source
and bounds
.
Protomaps Map Bundles are built from minute-level snapshots of the entire OpenStreetMap database. If your downloaded Map Bundle can have its data improved, edits you make on openstreetmap.org will be picked up within a few minutes; simply "Refresh" the map bundle on its download page. You can access your Map Bundle history at My Downloads.
© 2020 Protomaps