Skip to content

Styled Map Package format & utilities

License

Notifications You must be signed in to change notification settings

digidem/styled-map-package

Repository files navigation

Styled Map Package

A Styled Map Package (.smp) file is a Zip archive containing all the resources needed to serve a Maplibre vector styled map offline. This includes the style JSON, vector and raster tiles, glyphs (fonts), the sprite image, and the sprite metadata.

Usage

Download an online map to a styled map package file, specifying the bounding box (west, south, east, north) and max zoom level.

smp download https://demotiles.maplibre.org/style.json \
  --bbox '-180,-80,180,80' \
  --zoom 5 \
  --output demotiles.smp

Start a server and open in the default browser.

smp view demotiles.smp --open

About

Styled Map Package format & utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published