Style Sources

Martin will serve your styles as needed by MapLibre rendering libraries.

To edit these styles, we recommend using https://maputnik.github.io/editor/.

API

Martin can serve MapLibre Style Spec. Currently, Martin will use any valid JSON file as a style, but in the future, we may optimise Martin which may result in additional restrictions.

Use the /catalog API to see all the <style_id>s.

Map Style

Use the /style/<style_id> API to get a <style_id>’s JSON content.

Changes or removals of styles are reflected immediately, but additions are not. A restart of Martin is required to see new styles.

Server-side raster tile rendering

This is not implemented yet, but there is a plan to add it. Please see https://github.com/maplibre/martin/issues/978 for more information.