About
What is maplibre_style?
Section titled “What is maplibre_style?”@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.)
Installation
Section titled “Installation”npm install @navaramap/maplibre-styleQuick Start
Section titled “Quick Start”See MapLibreStylePlugin Usage for examples.
Relationship with Other Packages
Section titled “Relationship with Other Packages”@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 evaluationFeatures and Limitations
Section titled “Features and Limitations”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.
Related Resources
Section titled “Related Resources”- MapLibreStylePlugin - Usage guide, API reference, and font configuration
- Supported Features - Complete feature matrix