Skip to content

Supported Features

This page lists all MapLibre Style Spec features supported by @navaramap/maplibre-style.

For complete API documentation of each feature, see the MapLibre Style Specification.

Legend:

  • ✅ Supported
  • ⚠️ Partial support
  • ❌ Not supported
NameStatus
let✅
var✅
literal✅
semiliteral✅
array✅
at✅
in✅
index-of✅
slice✅
case✅
match✅
coalesce✅
step✅
interpolate✅
interpolate-hcl✅
interpolate-lab✅
interpolate-oklch❌
interpolate-oklab❌
ln2✅
pi✅
e✅
typeof✅
string✅
number✅
boolean✅
object✅
collator✅
format❌
image❌
global-state✅
number-format✅
to-string✅
to-number✅
to-boolean✅
to-rgba✅
to-color✅
rgb✅
rgba✅
get✅
has✅
length✅
properties✅
feature-state❌
geometry-type✅
id✅
zoom✅
pitch❌
bearing❌
heatmap-density❌
elevation✅
line-progress✅
accumulated❌
+✅
*✅
-✅
/✅
%✅
^✅
sqrt✅
log10✅
ln✅
log2✅
sin✅
cos✅
tan✅
asin✅
acos✅
atan✅
min✅
max✅
round✅
abs✅
ceil✅
floor✅
distance✅
==✅
!=✅
>✅
<✅
>=✅
<=✅
all✅
any✅
!✅
within✅
is-supported-script✅
upcase✅
downcase✅
concat✅
resolved-locale✅
split✅
join✅

See MapLibre Expressions for complete documentation.

NameStatus
font-faces✅
NameStatus
glyphs❌

Note: The standard MapLibre glyphs property (for loading SDF glyph PBFs) is not supported. Use font-faces instead to load web fonts for text rendering. See Font Configuration for details.

NameStatus
fill⚠️
fill-antialias❌
fill-opacity✅
fill-layer-opacity❌
fill-layer-blend❌
fill-color✅
fill-outline-color❌
fill-translate❌
fill-translate-anchor❌
fill-pattern❌
fill-rounded-corner-distance❌
fill-sort-key❌
visibility✅
line⚠️
line-opacity✅
line-layer-opacity❌
line-layer-blend❌
line-color✅
line-translate❌
line-translate-anchor❌
line-width✅
line-gap-width❌
line-offset❌
line-blur✅
line-dasharray❌
line-pattern❌
line-gradient✅
line-cap✅
line-join❌
line-miter-limit❌
line-round-limit❌
line-sort-key❌
visibility✅
symbol⚠️
icon-opacity✅
icon-color⚠️ Its alpha is ignored: MapLibre fades only an SDF icon's fill with it, while Navara draws the fill opaque. `icon-opacity` fades the whole icon, halo included
icon-halo-color✅
icon-halo-width⚠️ Ends where the icon's distance field ends (6 icon pixels in MapLibre sprites); a wider halo is cut off there, where MapLibre fills the icon's whole box
icon-halo-blur⚠️ Ends where the icon's distance field ends, like `icon-halo-width`
icon-translate⚠️ Follows zoom, but is the same for every feature in the layer. With the `map` anchor it turns with the camera heading but, unlike MapLibre, is not foreshortened by pitch
icon-translate-anchor✅
text-opacity✅
text-color✅
text-halo-color✅
text-halo-width✅
text-halo-blur✅
text-translate⚠️ Follows zoom, but is the same for every feature in the layer. With the `map` anchor it turns with the camera heading but, unlike MapLibre, is not foreshortened by pitch
text-translate-anchor✅
symbol-placement⚠️ Line placement labels line geometry only, not polygon outlines
symbol-spacing⚠️ Evaluated once at layer construction
symbol-avoid-edges❌
symbol-sort-key⚠️ Sets placement priority only, not draw order
symbol-z-order❌
icon-allow-overlap✅
icon-overlap✅
icon-ignore-placement✅
icon-optional✅
icon-rotation-alignment⚠️ Evaluated once at layer construction on line placement
icon-size✅
icon-text-fit❌
icon-text-fit-padding❌
icon-image✅
icon-rotate✅
icon-padding⚠️ Follows zoom, but is the same for every feature in the layer
icon-keep-upright❌
icon-offset✅
icon-anchor✅
icon-pitch-alignment⚠️ On-screen icons turn by ground bearing on lines
text-pitch-alignment✅
text-rotation-alignment✅
text-field✅
text-font✅
text-size✅
text-max-width⚠️ Follows zoom, but is the same for every feature in the layer
text-line-height✅
text-letter-spacing✅
text-justify✅
text-radial-offset✅
text-variable-anchor⚠️ With overlap allowed and every anchor taken, the label overlaps at the anchor it is at rather than the first
text-variable-anchor-offset⚠️ With overlap allowed and every anchor taken, the label overlaps at the anchor it is at rather than the first
text-anchor✅
text-max-angle✅
text-writing-mode❌
text-rotate✅
text-padding✅
text-keep-upright✅
text-transform✅
text-offset✅
text-allow-overlap✅
text-overlap✅
text-ignore-placement✅
text-optional✅
symbol-height-offset❌
symbol-height-anchor❌
visibility✅
circle⚠️
circle-radius✅
circle-color✅
circle-blur❌
circle-opacity✅
circle-translate❌
circle-translate-anchor❌
circle-pitch-scale❌
circle-pitch-alignment❌
circle-stroke-width❌
circle-stroke-color❌
circle-stroke-opacity❌
circle-sort-key❌
visibility✅
heatmap❌
heatmap-radius❌
heatmap-weight❌
heatmap-intensity❌
heatmap-color❌
heatmap-opacity❌
visibility❌
fill-extrusion⚠️
fill-extrusion-opacity✅
fill-extrusion-color✅
fill-extrusion-translate❌
fill-extrusion-translate-anchor❌
fill-extrusion-pattern❌
fill-extrusion-height✅
fill-extrusion-base✅
fill-extrusion-vertical-gradient❌
visibility✅
fill-extrusion-rounded-corner-distance❌
raster⚠️ Layer only, no properties supported
raster-opacity❌
raster-layer-blend❌
raster-hue-rotate❌
raster-brightness-min❌
raster-brightness-max❌
raster-saturation❌
raster-contrast❌
resampling❌
raster-resampling❌
raster-fade-duration⚠️ Ignored; tiles appear without fading
visibility✅
hillshade⚠️ Layer only, no properties supported
hillshade-illumination-direction❌
hillshade-illumination-altitude❌
hillshade-illumination-anchor❌
hillshade-exaggeration❌
hillshade-shadow-color❌
hillshade-highlight-color❌
hillshade-accent-color❌
hillshade-method❌
resampling❌
visibility✅
color-relief✅
color-relief-opacity✅
color-relief-color✅
resampling✅
visibility✅
background⚠️
background-color✅
background-pattern❌
background-opacity✅
visibility✅
NameStatus
anchor❌
position❌
color❌
intensity❌
NameStatus
type⚠️ Ignored; always renders a globe
NameStatus
version✅
name✅
metadata✅
center✅
centerAltitude⚠️ Camera positions correctly, but zoom calculation uses sea-level distance
zoom✅
bearing✅
pitch✅
roll✅
state⚠️ Defaults only; no API to change the state
light❌
sky⚠️ Only atmosphere-blend, which is ignored
projection⚠️ Ignored; always renders a globe
terrain✅
sources⚠️
sprite⚠️ The `stretchX`/`stretchY`/`content` metadata is ignored
glyphs❌
font-faces✅
transition⚠️ Ignored; style changes apply immediately
layers⚠️
NameStatus
sky-color❌
horizon-color❌
fog-color❌
fog-ground-blend❌
horizon-fog-blend❌
sky-horizon-blend❌
atmosphere-blend⚠️ Ignored; MapLibre's globe atmosphere is not drawn
NameStatus
vector⚠️ mlt encoding, bounds and scheme are not supported
url✅
tiles⚠️ Only the first URL is used
bounds❌
scheme❌
sparse❌
minzoom✅
maxzoom✅
attribution⚠️ Ignored in the style; a TileJSON document's attribution is shown
promoteId❌
volatile⚠️ Ignored; it only hints at caching
encoding⚠️ Not supported: mlt
raster⚠️ bounds is ignored; tileSize is not applied
url✅
tiles⚠️ Only the first URL is used
bounds❌
minzoom✅
maxzoom✅
tileSize⚠️ Not applied; tiles are always handled as 256 px
scheme✅
attribution⚠️ Ignored in the style; a TileJSON document's attribution is shown
volatile⚠️ Ignored; it only hints at caching
raster-dem⚠️ bounds and custom encoding are not supported
url✅
tiles⚠️ Only the first URL is used
bounds❌
minzoom✅
maxzoom✅
tileSize✅
attribution⚠️ Ignored in the style; a TileJSON document's attribution is shown
encoding⚠️ Not supported: custom
redFactor❌
blueFactor❌
greenFactor❌
baseShift❌
volatile⚠️ Ignored; it only hints at caching
geojson⚠️ Only data is applied; other options are ignored
data✅
maxzoom❌
attribution❌
buffer❌
filter❌
tolerance❌
cluster❌
clusterRadius❌
clusterMaxZoom❌
clusterMinPoints❌
clusterProperties❌
lineMetrics✅
generateId❌
promoteId❌
video❌
urls❌
coordinates❌
image❌
url❌
coordinates❌
NameStatus
sprite⚠️ The `stretchX`/`stretchY`/`content` metadata is ignored

Note: A sprite URL is an absolute URL or an origin-relative path (/path/to/sprite); a path such as ../sprite is not resolved against the style’s URL. As in MapLibre, the @2x sheet is used on high-DPI screens. If any sprite fails to load, none of them is used until it loads on a later try. As in MapLibre, an icon-image name that is not in the sprite draws nothing; in a style with no sprite, Navara loads the name as an image URL instead. Icons marked "sdf": true take icon-color and icon-halo-*.

NameStatus
state⚠️ Defaults only; no API to change the state
NameStatus
source✅
exaggeration❌
NameStatus
duration⚠️ Ignored; style changes apply immediately
delay⚠️ Ignored; style changes apply immediately
NameStatus
Color✅
Formatted❌
ResolvedImage✅
String✅
Boolean✅
Number✅
Array✅
Point✅
Enum✅
Padding✅
ProjectionDefinition❌
numberArray✅
colorArray✅