Map Styles API

Learn how Mappinest serves available map styles through StyleJSON URLs, supported style IDs, and map client integration guides.

Overview

The Map Styles API serves available map styles through StyleJSON URLs. Use it when you want to render a map without uploading your own dataset or maintaining style assets yourself. Works with MapLibre GL JS, Mapbox GL JS, OpenLayers, and Leaflet.

Clients such as MapLibre GL JS, Mapbox GL JS, and OpenLayers can load the StyleJSON document directly. Leaflet can use the same styles through a MapLibre bridge.

Available styles

The current supported style IDs are streets, light, dark, and satellite. Each style uses the same endpoint pattern. Switching styles means changing only the style ID in the URL.

Use Available map styles to compare the supported styles and copy the correct style ID for your app.

How to integrate

Each style is served as a StyleJSON document. It is a single URL that includes the full source and layer configuration. Pass it directly as the style option in supported map clients.

Use the StyleJSON setup guides for MapLibre GL JS, Mapbox GL JS, OpenLayers, and Leaflet.

Last updated: July 8, 2026