Vector maps

Vector tiles, ready-made map styles and fonts — maps in the browser or in apps.

The service serves vector tiles (MVT) together with the map styles, sprites and fonts needed to render them. The map covers the whole world and the Baltics with neighbouring areas in detail; place names come in seven languages. Works with any MVT-capable client: MapLibre GL JS, Mapbox GL JS and mobile SDKs, OpenLayers, QGIS and others.

Read the guide → Quickstart, styles and languages, Mapbox, hybrid, your own layers, 3D buildings, TileJSON, QGIS. Map styles → All styles with pictures. Overlays → Cadastral parcels on top of the vector map: addresses, fields and a code example. API reference (Swagger UI) → All endpoints and interactive "try it out". OpenAPI spec (YAML file) → Machine-readable API description for tooling: import into Postman or generate client code (OpenAPI Generator). Note: opens as a raw YAML file; your browser may download it.

Endpoints

MethodURLContents
GEThttps://api.elemroot.com/styles/v2/{style}/style.jsonMapLibre style (start here)
GEThttps://api.elemroot.com/styles/v2/{style}/mapbox.jsonThe same style for Mapbox libraries
GEThttps://api.elemroot.com/tiles/v2/elemroot-v2.jsonTileJSON
GEThttps://api.elemroot.com/tiles/v2/elemroot-v2/{version}/{z}/{x}/{y}.mvtVector tiles
GEThttps://api.elemroot.com/tiles/v2/elemroot-cadastre-v1.jsonOverlay: cadastral parcels (TileJSON)
GEThttps://api.elemroot.com/fonts/{fontstack}/{range}.pbfFonts (no key)

Note: unlike the geo services, the vector maps base URL is api.elemroot.com (not pump.elemroot.com). Authentication uses the key parameter, given in the style URL only.

Quick example

const map = new maplibregl.Map({
  container: 'map',
  attributionControl: { compact: true },
  style: 'https://api.elemroot.com/styles/v2/daylight/style.json?key=docs_3d4e64fa1755d7299cb78bf6&lang=en',
  center: [24.75, 59.44],
  zoom: 10
});

Full explanation and examples: Vector maps guide.