Skip to content

About

@navaramap/maplibre-style provides MapLibreStylePlugin, which parses a MapLibre Style JSON specification and translates its sources and layers into Navara layer operations and per-feature evaluators. This enables existing MapLibre GL JS styles to be rendered on Navara’s 3D globe with minimal changes.

The plugin handles:

  • Expression evaluation - Supported MapLibre expressions (math, decision, lookup, zoom, etc.)
Terminal window
npm install @navaramap/maplibre-style

See MapLibreStylePlugin Usage for examples.

@navaramap/three (core: ThreeView, Plugin, Source, Layer)
├── @navaramap/three-default-plugin (DefaultPlugin: descriptor registration)
└── @navaramap/maplibre-style (MapLibreStylePlugin: MapLibre Style support)
└── Uses @maplibre/maplibre-gl-style-spec for expression evaluation

The plugin supports a practical subset of the MapLibre Style Specification, including common layer types (fill, line, circle, symbol, etc.), multiple source types (vector, raster, GeoJSON), and most expression operators.

For a complete list of supported features, limitations, and implementation details, see the Supported Features page.