Skip to main content

Massif

Massif is a family of five map styles on OpenMapTiles vector tiles, written once and published two ways: as MapLibre / Mapbox GL styles, and as a CartoCSS project for the Massif Maps SDK, where the variant and a dozen other choices are live style parameters.

VariantFor
streetsthe everyday map: Mapbox Standard's look, POIs by category, 3D buildings
outdoorstreets plus relief, contours, trails by SAC grade, MTB difficulty, waymarked routes
topooutdoor on a cooler, map-like ground
hybridroads, labels and POIs over satellite imagery you supply (EOX's Sentinel-2 mosaic below)
einkblack on white, patterns instead of colour, for e-paper screens; inverts at night

Try it​

streets.json

Get it​

FlavourWhat it isWhere
MapLibre<variant>.json + spritehttps://massif-maps.github.io/MassifMaps/styles/massif/<variant>.json (latest), …/massif/v<version>/<variant>.json (pinned)
CartoCSSthe SDK project: project.json, one <variant>.json per variant, .mss, icons, legend.jsonnpm, GitHub release
CartoCSS compiledthe same compiled to mapnik XML, one <variant>.xml per variantnpm, GitHub release
CartoCSS icon fontthe CartoCSS project with POI icons drawn from one bundled font (MassifIcons.ttf) instead of PNGsnpm, GitHub release
CartoCSS icon font compiledthat compilednpm, GitHub release
  • npm: npm install @massif-maps/styles — one folder per flavour: maplibre/, cartocss/, cartocss-compiled/, cartocss-iconfont/, cartocss-iconfont-compiled/.
  • GitHub releases: massif-styles-v*, one zip per flavour (massif-<flavour>-<version>.zip) and the screenshots.
  • unpkg, straight from npm: https://unpkg.com/@massif-maps/styles@<version>/maplibre/<variant>.json.

Which CartoCSS flavour:

  • Plain or compiled: the same map. The plain project is parsed when the style loads, the compiled XML is not — pick compiled for startup time, plain to read or extend the style.
  • Sprite or icon font: the same POIs. The icon-font flavour ships one 25 KB font instead of a folder of PNGs; road shields, markers, the peak triangle and the town dots keep their sprite either way.

Use it​

  • With MapLibre or Mapbox GL — the style URL, and adding the optional sources (bathymetry, contours, routes, satellite imagery).
  • With the Massif Maps SDK — loading a flavour, picking the variant, the style parameters, legends, merged archives.
  • Extending it — a child project of your own; the OpenStreetMap-coloured example.

Data and credits​

The MapLibre styles read OpenFreeMap's OpenMapTiles planet and fonts, and Mapterhorn's DEM for relief. Map data © OpenStreetMap contributors. POI icons are Maki, Temaki and openstreetmap-carto, all CC0. The hybrid imagery on this page and in its screenshot is Sentinel-2 cloudless by EOX IT Services GmbH (contains modified Copernicus Sentinel data 2016 & 2017), CC BY 4.0 — the published hybrid style carries none.

The style is MIT-0: use, change and redistribute it for anything, with no notice required.

How the style is written, and why it departs from its references where it does: styles/massif/README.md. How it is built and released: Massif style release.