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
| Method | URL | Contents |
|---|---|---|
GET | https://api.elemroot.com/styles/v2/{style}/style.json | MapLibre style (start here) |
GET | https://api.elemroot.com/styles/v2/{style}/mapbox.json | The same style for Mapbox libraries |
GET | https://api.elemroot.com/tiles/v2/elemroot-v2.json | TileJSON |
GET | https://api.elemroot.com/tiles/v2/elemroot-v2/{version}/{z}/{x}/{y}.mvt | Vector tiles |
GET | https://api.elemroot.com/tiles/v2/elemroot-cadastre-v1.json | Overlay: cadastral parcels (TileJSON) |
GET | https://api.elemroot.com/fonts/{fontstack}/{range}.pbf | Fonts (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.