@navaramap/material-schema 0.3.2-nightly.0.setup → 0.3.2-nightly.56.gbfb5e10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var e = "0.3.2-nightly.0.setup", t = {
2
+ var e = "0.3.2-nightly.56.gbfb5e10", t = {
3
3
  layers: {
4
4
  vector: [
5
5
  "point",
@@ -1 +1 @@
1
- (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.NavaraMaterialSchema={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=`0.3.2-nightly.0.setup`,n={layers:{vector:[`point`,`billboard`,`text`,`polyline`,`polygon`],raster:[`raster`,`hillshade`,`elevationHeatmap`],terrain:[`terrain`],"3d-tiles":[`model`]},materials:JSON.parse('{"point":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"size","kind":"number","doc":"size in pixels/meters (units are determined by `sizeInMeters`).","default":0.1,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"pointFacing","kind":"enum","doc":"Plane the point lies in: the screen (`\\"upright\\"`, never foreshortened) or the globe surface around its anchor (`\\"flat\\"`), as MapLibre\'s `icon-pitch-alignment` `viewport` and `map`. Pair with `rotateWithCamera`. Left unset, it is `\\"flat\\"` when `rotateWithCamera` resolves to `false` and `\\"upright\\"` otherwise, as MapLibre resolves `auto`.","options":["upright","flat"],"applies":"live"},{"name":"rotateWithCamera","kind":"boolean","doc":"Whether the point turns with the camera or with the map, as MapLibre\'s `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right (a screen-aligned billboard, or a flat quad yawed to the camera). `false` aligns it with the map: upright, it stays on screen but turns with the camera heading so its x-axis points east; flat, it lies north-up. Left unset, it is `true` for `placement: \\"point\\"` and `false` along a line, as MapLibre resolves `auto`.","applies":"live"},{"name":"rotation","kind":"number","doc":"Rotation of the point within its own plane, about its anchor point, in degrees, clockwise seen from the front. `anchor` decides where inside the quad the pivot sits. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"placement","kind":"enum","doc":"How anchors are derived from line and polygon geometry: `\\"point\\"` (the default) puts one at every line and polygon-ring vertex, `\\"line\\"` repeats them along the line every `spacing`, `\\"line-center\\"` places a single one at the line\'s midpoint. Polygon rings are walked like lines. Requires `geometryTypes` to include `\\"line\\"` or `\\"polygon\\"`.","default":"point","options":["point","line","line-center"],"applies":"reload"},{"name":"spacing","kind":"number","doc":"Distance between repeated anchors along a line, in screen pixels, for `vector-tile` and `geojson` sources alike. Resolved per anchor as the camera moves: anchors thin out as it pulls back and fill in as it closes, never moving, so the gap on screen stays between one and two times `spacing` across a pitched view. As MapLibre does with `symbol-spacing`, a sprite wider than three quarters of the spacing spreads its repeats to its width plus a quarter of the spacing, and a vector tile places anchors only inside its own bounds. Only used by `placement: \\"line\\"`. Defaults to `250.0`.","default":250,"applies":"reload"},{"name":"rotateToLine","kind":"boolean","doc":"Add the line\'s tangent bearing at the anchor to `rotation`, so the sprite turns with the line it sits on. Defaults to `true`.","default":true,"applies":"reload"},{"name":"anchor","kind":"enum","doc":"Part of the quad placed at the anchor point: `\\"center\\"` (default), `\\"left\\"`, `\\"right\\"`, `\\"top\\"`, `\\"bottom\\"`, `\\"top-left\\"`, `\\"top-right\\"`, `\\"bottom-left\\"` or `\\"bottom-right\\"`, as MapLibre\'s `icon-anchor`.","default":"center","options":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"applies":"live"},{"name":"offset","kind":"point","doc":"Shift from the anchor point, x right and y down, in the unit of `size` (meters when `sizeInMeters`, pixels otherwise). Lies in the quad\'s own plane, so it turns with `rotation`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translate","kind":"point","doc":"Screen-pixel shift of the drawn quad, x right and y down, applied after projection so it stays the same number of pixels at any distance, as MapLibre\'s `icon-translate`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translateAnchor","kind":"enum","doc":"Frame `translate` is measured in: `\\"map\\"` (default) turns it with the camera heading so +x points east and +y south; `\\"viewport\\"` keeps it on the screen axes. MapLibre\'s `icon-translate-anchor`.","default":"map","options":["map","viewport"],"applies":"live"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"sizeInMeters","kind":"boolean","doc":"Whether the size is specified in meters. If false, the size is in pixels. Default is true.","default":true,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"live"},{"name":"depthTest","kind":"boolean","default":true,"applies":"live"},{"name":"backfaceCulling","kind":"boolean","doc":"Whether faces seen from behind are culled. Default is false. Only a flat quad has a back the camera can see: turn it on to hide the parts of a large one that wrap over the horizon, which face away from the camera.","default":false,"applies":"live"},{"name":"offsetDepth","kind":"boolean","doc":"Avoid overlapping with the globe surface.","default":true,"applies":"live"},{"name":"transparent","kind":"boolean","default":true,"applies":"live"},{"name":"opacity","kind":"number","default":1,"applies":"live"},{"name":"declutter","kind":"boolean","doc":"Participate in screen-space decluttering: when labels/sprites overlap on screen, lower-priority ones are hidden. Defaults to `true`; set to `false` to draw every label unconditionally.","default":true,"applies":"live"},{"name":"declutterRank","kind":"number","doc":"Coarse placement order for decluttering, compared before `declutterPriority`: every label with a higher rank is placed before any label with a lower one, whatever their priorities. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPriority","kind":"number","doc":"Placement priority for decluttering; higher wins. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPadding","kind":"list","doc":"Extra space around the collision box, in screen pixels: one to four values, expanded like CSS padding (top, right, bottom, left). Only meaningful when `declutter` is enabled. Defaults to `[2]`.","default":[2,2,2,2],"applies":"live"},{"name":"overlap","kind":"enum","doc":"Whether the label may be drawn over symbols placed before it: `\\"never\\"` (the default) hides it on any collision, `\\"always\\"` never does, `\\"cooperative\\"` hides it only when it collides with a `\\"never\\"` symbol. Only meaningful when `declutter` is enabled.","default":"never","options":["never","always","cooperative"],"applies":"live"},{"name":"ignorePlacement","kind":"boolean","doc":"Leave this label\'s box out of the collision grid, so symbols placed after it may overlap it. Only meaningful when `declutter` is enabled. Defaults to `false`.","default":false,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"point\\"`, `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"point\\"]`; adding `\\"line\\"`/`\\"polygon\\"` also emits a point per line-string / polygon-ring vertex.","default":["point"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"billboard":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"size","kind":"number","doc":"size in pixels/meters (units are determined by `sizeInMeters`).","default":0.1,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"billboardFacing","kind":"enum","doc":"Plane the sprite lies in: the screen (`\\"upright\\"`, never foreshortened) or the globe surface around its anchor (`\\"flat\\"`), as MapLibre\'s `icon-pitch-alignment` `viewport` and `map`. Pair with `rotateWithCamera`. Left unset, it is `\\"flat\\"` when `rotateWithCamera` resolves to `false` and `\\"upright\\"` otherwise, as MapLibre resolves `auto`.","options":["upright","flat"],"applies":"live"},{"name":"rotateWithCamera","kind":"boolean","doc":"Whether the sprite turns with the camera or with the map, as MapLibre\'s `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right (a screen-aligned billboard, or a flat quad yawed to the camera). `false` aligns it with the map: upright, it stays on screen but turns with the camera heading so its x-axis points east; flat, it lies north-up. Left unset, it is `true` for `placement: \\"point\\"` and `false` along a line, as MapLibre resolves `auto`.","applies":"live"},{"name":"rotation","kind":"number","doc":"Rotation of the sprite within its own plane, about its anchor point, in degrees, clockwise seen from the front. `anchor` decides where inside the sprite the pivot sits. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"placement","kind":"enum","doc":"How anchors are derived from line and polygon geometry: `\\"point\\"` (the default) puts one per line string, at its first vertex, and one per polygon, `\\"line\\"` repeats them along the line every `spacing`, `\\"line-center\\"` places a single one at the line\'s midpoint. Polygon rings are walked like lines. Requires `geometryTypes` to include `\\"line\\"` or `\\"polygon\\"`.","default":"point","options":["point","line","line-center"],"applies":"reload"},{"name":"spacing","kind":"number","doc":"Distance between repeated anchors along a line, in screen pixels, for `vector-tile` and `geojson` sources alike. Resolved per anchor as the camera moves: anchors thin out as it pulls back and fill in as it closes, never moving, so the gap on screen stays between one and two times `spacing` across a pitched view. As MapLibre does with `symbol-spacing`, a sprite wider than three quarters of the spacing spreads its repeats to its width plus a quarter of the spacing, and a vector tile places anchors only inside its own bounds. Only used by `placement: \\"line\\"`. Defaults to `250.0`.","default":250,"applies":"reload"},{"name":"rotateToLine","kind":"boolean","doc":"Add the line\'s tangent bearing at the anchor to `rotation`, so the sprite turns with the line it sits on. Defaults to `true`.","default":true,"applies":"reload"},{"name":"anchor","kind":"enum","doc":"Part of the quad placed at the anchor point: `\\"center\\"` (default), `\\"left\\"`, `\\"right\\"`, `\\"top\\"`, `\\"bottom\\"`, `\\"top-left\\"`, `\\"top-right\\"`, `\\"bottom-left\\"` or `\\"bottom-right\\"`, as MapLibre\'s `icon-anchor`.","default":"center","options":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"applies":"live"},{"name":"offset","kind":"point","doc":"Shift from the anchor point, x right and y down, in the unit of `size` (meters when `sizeInMeters`, pixels otherwise). Lies in the quad\'s own plane, so it turns with `rotation`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translate","kind":"point","doc":"Screen-pixel shift of the drawn quad, x right and y down, applied after projection so it stays the same number of pixels at any distance, as MapLibre\'s `icon-translate`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translateAnchor","kind":"enum","doc":"Frame `translate` is measured in: `\\"map\\"` (default) turns it with the camera heading so +x points east and +y south; `\\"viewport\\"` keeps it on the screen axes. MapLibre\'s `icon-translate-anchor`.","default":"map","options":["map","viewport"],"applies":"live"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"url","kind":"string","default":"","applies":"live"},{"name":"sizeInMeters","kind":"boolean","doc":"Whether the size is specified in meters. If false, the size is in pixels. Default is true.","default":true,"applies":"live"},{"name":"sizeRelativeToImage","kind":"boolean","doc":"Whether `size` scales the image\'s own pixel height instead of being the quad\'s height, like MapLibre\'s `icon-size`: `1` draws the image at its natural size. `offset` keeps the unit `sizeInMeters` gives it. Default is false.","default":false,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"live"},{"name":"depthTest","kind":"boolean","default":true,"applies":"live"},{"name":"backfaceCulling","kind":"boolean","doc":"Whether faces seen from behind are culled. Default is false. Only a flat quad has a back the camera can see: turn it on to hide the parts of a large one that wrap over the horizon, which face away from the camera.","default":false,"applies":"live"},{"name":"offsetDepth","kind":"boolean","doc":"Avoid overlapping with the globe surface.","default":true,"applies":"live"},{"name":"transparent","kind":"boolean","default":false,"applies":"live"},{"name":"opacity","kind":"number","default":1,"applies":"live"},{"name":"alphaTest","kind":"number","default":0.1,"applies":"live"},{"name":"declutter","kind":"boolean","doc":"Participate in screen-space decluttering: when labels/sprites overlap on screen, lower-priority ones are hidden. Defaults to `true`; set to `false` to draw every label unconditionally.","default":true,"applies":"live"},{"name":"declutterRank","kind":"number","doc":"Coarse placement order for decluttering, compared before `declutterPriority`: every label with a higher rank is placed before any label with a lower one, whatever their priorities. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPriority","kind":"number","doc":"Placement priority for decluttering; higher wins. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPadding","kind":"list","doc":"Extra space around the collision box, in screen pixels: one to four values, expanded like CSS padding (top, right, bottom, left). Only meaningful when `declutter` is enabled. Defaults to `[2]`.","default":[2,2,2,2],"applies":"live"},{"name":"overlap","kind":"enum","doc":"Whether the label may be drawn over symbols placed before it: `\\"never\\"` (the default) hides it on any collision, `\\"always\\"` never does, `\\"cooperative\\"` hides it only when it collides with a `\\"never\\"` symbol. Only meaningful when `declutter` is enabled.","default":"never","options":["never","always","cooperative"],"applies":"live"},{"name":"ignorePlacement","kind":"boolean","doc":"Leave this label\'s box out of the collision grid, so symbols placed after it may overlap it. Only meaningful when `declutter` is enabled. Defaults to `false`.","default":false,"applies":"live"},{"name":"standalone","kind":"boolean","doc":"Whether this may show while its partner at the same anchor (the layer\'s label for a billboard, its billboard for a label) is hidden. With `false` on both, the two are placed together: both show or neither does. Only meaningful when `declutter` is enabled. Defaults to `true`.","default":true,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"point\\"`, `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"point\\"]`; adding `\\"line\\"` also emits a billboard per line string, at its first vertex, and `\\"polygon\\"` one per polygon.","default":["point"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"text":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"size","kind":"number","doc":"size in pixels/meters (units are determined by `sizeInMeters`).","default":10,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"anchor","kind":"enum","doc":"Part of the text block placed at the anchor point: `\\"center\\"` (default), `\\"left\\"`, `\\"right\\"`, `\\"top\\"`, `\\"bottom\\"`, `\\"top-left\\"`, `\\"top-right\\"`, `\\"bottom-left\\"` or `\\"bottom-right\\"`, as MapLibre\'s `text-anchor`. The block is as wide as its widest line and one line height tall per line.","default":"center","options":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"applies":"live"},{"name":"offset","kind":"point","doc":"Shift from the anchor point, x right and y down, in ems (multiples of `size`), as MapLibre\'s `text-offset`. Lies in the label\'s own plane, so it turns with `rotation`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"variableAnchors","kind":"list","doc":"Placements the declutter pass tries in order, keeping the first whose box is free, as MapLibre\'s `text-variable-anchor-offset`. The one in use is tried first, so a label only moves when it must. Overrides `anchor` and `offset` when not empty, except along a line. Without declutter the first is used.","default":[],"applies":"live"},{"name":"translate","kind":"point","doc":"Screen-pixel shift of the drawn label, x right and y down, applied after projection so it stays the same number of pixels at any distance, as MapLibre\'s `text-translate`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translateAnchor","kind":"enum","doc":"Frame `translate` is measured in: `\\"map\\"` (default) turns it with the camera heading so +x points east and +y south; `\\"viewport\\"` keeps it on the screen axes. MapLibre\'s `text-translate-anchor`.","default":"map","options":["map","viewport"],"applies":"live"},{"name":"textFacing","kind":"enum","doc":"Plane the label lies in: the screen (`\\"upright\\"`, never foreshortened) or the globe surface around its anchor (`\\"flat\\"`), following its curvature so it reads as painted on the surface. MapLibre\'s `text-pitch-alignment` `viewport` and `map`. Pair with `rotateWithCamera`. Left unset, it is `\\"flat\\"` when `rotateWithCamera` resolves to `false` and `\\"upright\\"` otherwise, as MapLibre resolves `auto`.","options":["upright","flat"],"applies":"live"},{"name":"rotation","kind":"number","doc":"Rotation of the label within its own plane, about its anchor point, in degrees, clockwise seen from the front. Applied on top of whatever orientation `textFacing` and `rotateWithCamera` resolve to: it spins a billboard on screen and turns a surface label like a compass bearing. `anchor` decides where inside the text the pivot sits. Along a line each glyph spins about its own point on the line, as MapLibre\'s `text-rotate` does, except for a straight label (`rotateWithCamera` without `spreadGlyphs`), which turns as a whole. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"rotateWithCamera","kind":"boolean","doc":"Whether the label turns with the camera or with the map, as MapLibre\'s `text-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right (a screen-aligned billboard, or a flat label yawed to the camera). `false` aligns it with the map: upright, it stays on screen but turns with the camera heading so its x-axis points east; flat, it lies north-up. Along a line, `false` makes the label follow the line, and `true` draws it straight at its anchor unless `spreadGlyphs` is set. Left unset, it is `true` for `placement: \\"point\\"` and `false` along a line, as MapLibre resolves `auto`.","applies":"live"},{"name":"placement","kind":"enum","doc":"How anchors are derived from line and polygon geometry: `\\"point\\"` (the default) puts a label per line string, at its first vertex, and one per polygon, `\\"line\\"` repeats labels along the line every `spacing` with the glyphs bending to follow it, `\\"line-center\\"` places a single label at the line\'s midpoint. Polygon rings are walked like lines. Requires `geometryTypes` to include `\\"line\\"` or `\\"polygon\\"`.","default":"point","options":["point","line","line-center"],"applies":"reload"},{"name":"spacing","kind":"number","doc":"Distance between repeated labels along a line, in screen pixels, for `vector-tile` and `geojson` sources alike. Resolved per label as the camera moves: labels thin out as it pulls back and fill in as it closes, never moving, so the gap on screen stays between one and two times `spacing` across a pitched view. As MapLibre does with `symbol-spacing`, a label longer than three quarters of the spacing spreads its repeats to its own length plus a quarter of the spacing, a label within half the spacing of an earlier one with the same text is dropped, and a vector tile places labels only inside its own bounds. Defaults to `250.0`.","default":250,"applies":"reload"},{"name":"maxAngle","kind":"number","doc":"Largest turn, in degrees, the line may make under a label within a window of about one and a half ems before the label is dropped as unreadable. The window slides along the label, so a long gentle curve is accepted however far it turns in total. Defaults to `45.0`.","default":45,"applies":"live"},{"name":"keepUpright","kind":"boolean","doc":"Flip a label that would otherwise read right-to-left, so names stay legible whichever way the underlying line runs. Defaults to `true`.","default":true,"applies":"live"},{"name":"spreadGlyphs","kind":"boolean","doc":"Place each glyph of an along-line label on its own instead of each word. With `rotateWithCamera: false` each glyph turns with the line under it (MapLibre\'s `symbol-placement: \\"line\\"`); with `true`, each glyph turns to the camera like a point label and is spaced on the screen (MapLibre\'s `viewport-glyph`). Can be overridden per feature from a feature evaluator. Defaults to `false`.","default":false,"applies":"live"},{"name":"lineOffset","kind":"number","doc":"Offset perpendicular to the line, in the same units as the font size: pixels when `sizeInMeters` is false, metres when it is true. Positive is to the left of the direction of travel, which puts the name above the line. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"sizeInMeters","kind":"boolean","doc":"Whether the size is specified in meters. If false, the size is in pixels. Default is true.","default":true,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"live"},{"name":"depthTest","kind":"boolean","default":true,"applies":"live"},{"name":"backfaceCulling","kind":"boolean","doc":"Whether faces seen from behind are culled. Default is false. Only a flat quad has a back the camera can see: turn it on to hide the parts of a large one that wrap over the horizon, which face away from the camera.","default":false,"applies":"live"},{"name":"offsetDepth","kind":"boolean","doc":"Avoid overlapping with the globe surface.","default":true,"applies":"live"},{"name":"text","kind":"string","default":"","applies":"live"},{"name":"font","kind":"string","doc":"Specifies either the URL of a single font file or the `family` name of a font family previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf, woff, and woff2. When a family name is used, only the face files whose unicode ranges cover the characters in `text` are fetched, so large scripts (CJK, etc.) can be split into multiple faces and loaded on demand. For each codepoint, the first face (in `faces` order) whose `unicodeRanges` contain the codepoint is used; codepoints not covered by any face fall back to the first face, which may therefore be downloaded even for characters outside its declared ranges. Defaults to `None`: no font is loaded, and the text layer will not render until a font is specified.","default":"","applies":"live"},{"name":"backgroundColor","kind":"color","applies":"live"},{"name":"borderColor","kind":"color","default":0,"applies":"live"},{"name":"borderWidth","kind":"number","default":0.05,"applies":"live"},{"name":"outlineBlur","kind":"number","doc":"Width over which the outline\'s outer edge fades out, centered on that edge, in the unit of `outlineWidth`. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"outlineColor","kind":"color","doc":"Outline color. Defaults to black.","default":0,"applies":"live"},{"name":"outlineOpacity","kind":"number","doc":"Outline opacity, from 0 to 1. Defaults to `1.0`.","default":1,"applies":"live"},{"name":"outlineWidth","kind":"number","doc":"Outline thickness in 1/64 em: pixels of text drawn 64 pixels tall, so the outline keeps its proportion to the glyphs at any size. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"lang","kind":"string","doc":"Language code for text shaping (e.g., \\"en\\", \\"ja\\", \\"ar\\"). Used for proper text rendering.","default":"","applies":"never"},{"name":"highQuality","kind":"boolean","doc":"Enable high-quality glyph rendering. When `true`, text uses an MTSDF atlas (sharper corners at large sizes, dramatically slower rasterization). When `false` or omitted, the default single-channel SDF atlas is used (fast). Mirrors `navara_material::TextMaterial::high_quality` on the Rust side.","default":false,"applies":"reload"},{"name":"opacity","kind":"number","doc":"Opacity of the text","default":1,"applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable transparency and alpha blending","default":true,"applies":"live"},{"name":"maxWidth","kind":"number","doc":"Maximum line width in ems (multiples of `size`) before text wraps at word boundaries. `0.0` (the default) disables wrapping; explicit `\\\\n` characters in `text` always break lines.","default":0,"applies":"live"},{"name":"lineHeight","kind":"number","doc":"Distance between the baselines of a multi-line label, in ems (multiples of `size`). Defaults to the font\'s natural line height (ascender − descender + line gap).","applies":"live"},{"name":"textAlign","kind":"string","doc":"Horizontal alignment of lines within a multi-line block: `\\"left\\"`, `\\"center\\"` (default), `\\"right\\"`, or `\\"auto\\"`, which aligns towards the horizontal side of `anchor` (MapLibre\'s `text-justify`).","default":"center","applies":"live"},{"name":"letterSpacing","kind":"number","doc":"Extra space between characters, in ems (multiples of `size`). Not added after the last character; ignored for Arabic-script text. Negative values tighten. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutter","kind":"boolean","doc":"Participate in screen-space decluttering: when labels/sprites overlap on screen, lower-priority ones are hidden. Defaults to `true`; set to `false` to draw every label unconditionally.","default":true,"applies":"live"},{"name":"declutterRank","kind":"number","doc":"Coarse placement order for decluttering, compared before `declutterPriority`: every label with a higher rank is placed before any label with a lower one, whatever their priorities. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPriority","kind":"number","doc":"Placement priority for decluttering; higher wins. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPadding","kind":"list","doc":"Extra space around the collision box, in screen pixels: one to four values, expanded like CSS padding (top, right, bottom, left). Only meaningful when `declutter` is enabled. Defaults to `[2]`.","default":[2,2,2,2],"applies":"live"},{"name":"overlap","kind":"enum","doc":"Whether the label may be drawn over symbols placed before it: `\\"never\\"` (the default) hides it on any collision, `\\"always\\"` never does, `\\"cooperative\\"` hides it only when it collides with a `\\"never\\"` symbol. Only meaningful when `declutter` is enabled.","default":"never","options":["never","always","cooperative"],"applies":"live"},{"name":"ignorePlacement","kind":"boolean","doc":"Leave this label\'s box out of the collision grid, so symbols placed after it may overlap it. Only meaningful when `declutter` is enabled. Defaults to `false`.","default":false,"applies":"live"},{"name":"standalone","kind":"boolean","doc":"Whether this may show while its partner at the same anchor (the layer\'s label for a billboard, its billboard for a label) is hidden. With `false` on both, the two are placed together: both show or neither does. Only meaningful when `declutter` is enabled. Defaults to `true`.","default":true,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"point\\"`, `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"point\\"]`; adding `\\"line\\"` also emits a label per line string, at its first vertex, and `\\"polygon\\"` one per polygon.","default":["point"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"polyline":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"width","kind":"number","default":1,"applies":"live"},{"name":"maxWidth","kind":"number","doc":"Maximum line width in pixels, clamping the rendered width regardless of zoom level. Smaller values are cheaper to render as they reduce fragment shader overdraw.","default":10000,"applies":"live"},{"name":"dashArray","kind":"list","doc":"Alternating dash and gap lengths, in multiples of the line width, repeated along the line. The pattern\'s period is the sum of the entries, so an odd-length array ends in a dash that runs into the first one. An empty array draws a solid line, which is the default.","applies":"live"},{"name":"cap","kind":"enum","doc":"Shape of the ends of the line and of its dashes: `\\"butt\\"` (the default), `\\"round\\"` or `\\"square\\"`. `\\"round\\"` adds a half circle one half line width in radius beyond both ends of the line and of every dash, so a zero-length dash becomes a dot. `\\"square\\"` extends the ends of the line by half a line width and leaves the dashes\' ends square.","default":"butt","options":["butt","round","square"],"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"reload"},{"name":"tiled","kind":"boolean","doc":"Splits the polyline into XYZ vector tiles for rendering, even when the data source is not an MVT layer. This can improve performance for large polylines. Enabling `clamp_to_ground` implicitly forces `tiled` to `true`.","default":false,"applies":"reload"},{"name":"geodesic","kind":"boolean","doc":"Whether edges of the tiled path (`clamp_to_ground` or `tiled`) follow the geodesic. Defaults to `true`, which also connects consecutive vertices more than 180° apart in longitude the short way, across the antimeridian; a closed ring that would then no longer close, such as one around a pole, is kept as given. When `false`, edges are straight lines in Web Mercator and longitudes are used as given (e.g. 190° is east of 180°), as in MapLibre. Ignored outside the tiled path. Applies to the whole layer: its tiled appearances share one geometry, which follows the geodesic unless every one of them sets `false`. Read when the layer\'s tiles are first built; later changes have no effect.","default":true,"applies":"reload"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"line\\"]`; adding `\\"polygon\\"` also renders polygon boundary rings (outer ring and holes) as closed polylines at the ring\'s base height. Extruded-polygon edges stay the polygon material\'s `outline` feature.","default":["line"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable transparency and alpha blending","default":false,"applies":"live"},{"name":"opacity","kind":"number","doc":"Opacity value","default":1,"applies":"live"},{"name":"depthWrite","kind":"boolean","doc":"Enable writing to depth buffer","default":true,"applies":"live"}],"polygon":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"reload"},{"name":"tiled","kind":"boolean","doc":"Splits the polygon into XYZ vector tiles for rendering, even when the data source is not an MVT layer. This can improve performance for large polygons. Enabling `clamp_to_ground` implicitly forces `tiled` to `true`. Outline rendering is not supported when `tiled` is enabled.","default":false,"applies":"reload"},{"name":"geodesic","kind":"boolean","doc":"Whether edges of the tiled path (`clamp_to_ground` or `tiled`) follow the geodesic. Defaults to `true`, which also connects consecutive vertices more than 180° apart in longitude the short way, across the antimeridian; a closed ring that would then no longer close, such as one around a pole, is kept as given. When `false`, edges are straight lines in Web Mercator and longitudes are used as given (e.g. 190° is east of 180°), as in MapLibre. Ignored outside the tiled path. Applies to the whole layer: its tiled appearances share one geometry, which follows the geodesic unless every one of them sets `false`. Read when the layer\'s tiles are first built; later changes have no effect.","default":true,"applies":"reload"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"extrudedHeight","kind":"number","applies":"live"},{"name":"wireframe","kind":"boolean","default":false,"applies":"live"},{"name":"reflectivity","kind":"number","doc":"Reflectivity for post-process or env map.","default":0,"applies":"live"},{"name":"roughness","kind":"number","doc":"Reflectivity for post-process.","default":0,"applies":"live"},{"name":"perPositionHeight","kind":"boolean","doc":"Whether or not the height is obtained from the data. If false, the height is constant.","default":false,"applies":"reload"},{"name":"extrusionBase","kind":"enum","doc":"What the bottom follows when `perPositionHeight` is set: `\\"position\\"` keeps both caps at the heights of the positions, `\\"ellipsoid\\"` lays the bottom flat on the ellipsoid.","default":"position","options":["position","ellipsoid"],"applies":"reload"},{"name":"opacity","kind":"number","doc":"Need to enable `transparent`.","default":1,"applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable `opacity`. It might cause unexpected behavior when you use an effect.","default":false,"applies":"live"},{"name":"surfaceShow","kind":"boolean","doc":"Currently, this property is supported only in GeoJSON.","default":true,"applies":"live"},{"name":"outline","kind":"boolean","doc":"Whether to compute outline geometry even while `outlineShow` is `false`, so an update can show it later. Showing the outline always computes it. Read when geometry is built: tiles already loaded keep what they have.","default":false,"applies":"reload"},{"name":"outlineShow","kind":"boolean","doc":"Currently, this property is supported only in GeoJSON.","default":false,"applies":"reload","note":"Applies at once when the layer was added with an outline."},{"name":"outlineColor","kind":"color","doc":"Currently, this property is supported only in GeoJSON.","default":16777215,"applies":"live"},{"name":"outlineWidth","kind":"number","doc":"Currently, this property is supported only in GeoJSON.","default":1,"applies":"live"},{"name":"water","kind":"boolean","doc":"Apply a water material on the polygon. It might slow down the loading of the mesh.","default":false,"applies":"live"},{"name":"waveExaggeration","kind":"number","doc":"Scales the water\'s wave slopes; 0 is a flat mirror.","default":1,"applies":"live"},{"name":"waterScale","kind":"enum","doc":"Extent of the water body, which bounds how far the wind blows over it and so how large its waves grow: `\\"ocean\\"` (the default; open sea), `\\"large\\"` (a bay or a large lake, about 20 km), `\\"medium\\"` (a lake or a wide river, about 2 km) or `\\"small\\"` (a river or a pond, about 200 m).","default":"ocean","options":["ocean","large","medium","small"],"applies":"live"},{"name":"waveStrength","kind":"number","doc":"Sets the size, steepness and speed of the water\'s waves: about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.","default":5,"applies":"live"},{"name":"waveDirection","kind":"number","doc":"Where the water\'s waves travel, in degrees clockwise from north. Default: 0.","default":0,"applies":"live"},{"name":"flowSpeed","kind":"number","doc":"Speed in m/s of the current carrying the water\'s waves along `waveDirection`. Default: 0.","default":0,"applies":"live"},{"name":"shininess","kind":"number","doc":"Phong shininess of the non-water `specular` highlight.","default":100,"applies":"live"},{"name":"specularStrength","kind":"number","default":2,"applies":"live"},{"name":"specular","kind":"boolean","doc":"Enabling this value allows using `shininess` and `specular_strength`. Has no effect on water.","default":false,"applies":"live"},{"name":"ior","kind":"number","default":1.33333,"applies":"live"},{"name":"shadeSidesAsSurface","kind":"boolean","doc":"Shade the extruded sides with the surface normal instead of their own.","default":false,"applies":"live"},{"name":"depthPrePass","kind":"boolean","doc":"Write depth before blending so a transparent layer blends only its nearest surface.","default":false,"applies":"live"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"model":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"url","kind":"string","default":"","applies":"never","note":"A 3D Tiles layer\'s content comes from its tileset."},{"name":"size","kind":"number","default":1,"applies":"reload"},{"name":"height","kind":"number","default":1,"applies":"reload","note":"Applies at once to point clouds."},{"name":"maxSse","kind":"number","default":8,"applies":"reload"},{"name":"shouldRotateInDefault","kind":"boolean","default":true,"applies":"never","note":"A 3D Tiles layer\'s content comes from its tileset."},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"metalness","kind":"number","default":0,"applies":"live"},{"name":"roughness","kind":"number","doc":"Reflectivity for post-process.","default":1,"applies":"live"},{"name":"reflectivity","kind":"number","doc":"Reflectivity for post-process or env map.","default":0,"applies":"never"},{"name":"water","kind":"boolean","doc":"Apply a water material on the polygon. It might slow down the loading of the mesh.","default":false,"applies":"live"},{"name":"waveExaggeration","kind":"number","doc":"Scales the water\'s wave slopes; 0 is a flat mirror.","default":1,"applies":"live"},{"name":"waterScale","kind":"enum","doc":"Extent of the water body, which bounds how far the wind blows over it and so how large its waves grow: `\\"ocean\\"` (the default; open sea), `\\"large\\"` (a bay or a large lake, about 20 km), `\\"medium\\"` (a lake or a wide river, about 2 km) or `\\"small\\"` (a river or a pond, about 200 m).","default":"ocean","options":["ocean","large","medium","small"],"applies":"live"},{"name":"waveStrength","kind":"number","doc":"Sets the size, steepness and speed of the water\'s waves: about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.","default":5,"applies":"live"},{"name":"waveDirection","kind":"number","doc":"Where the water\'s waves travel, in degrees clockwise from north. Default: 0.","default":0,"applies":"live"},{"name":"flowSpeed","kind":"number","doc":"Speed in m/s of the current carrying the water\'s waves along `waveDirection`. Default: 0.","default":0,"applies":"live"},{"name":"shininess","kind":"number","doc":"Phong shininess of the non-water `specular` highlight.","default":100,"applies":"live"},{"name":"specularStrength","kind":"number","default":2,"applies":"live"},{"name":"specular","kind":"boolean","doc":"Enabling this value allows using `shininess` and `specular_strength`. Has no effect on water.","default":false,"applies":"live"},{"name":"ior","kind":"number","default":1.33333,"applies":"live"},{"name":"animationActiveClip","kind":"string","applies":"never"},{"name":"animationSpeed","kind":"number","applies":"never"},{"name":"pointSize","kind":"number","default":0.3,"applies":"live"},{"name":"showBoundingBox","kind":"boolean","default":false,"applies":"live"},{"name":"normals","kind":"boolean","doc":"When true, recompute vertex normals using a creased-normals algorithm after the model loads. Useful for tiled glTF assets that ship without normals or with low-quality normals.","default":false,"applies":"reload"},{"name":"creaseNormalAngle","kind":"number","doc":"Crease angle (in radians) used when `normals` is true. Defaults to 30° (PI/6) when omitted.","applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable transparency and alpha blending","default":false,"applies":"live"},{"name":"opacity","kind":"number","doc":"Opacity value","default":1,"applies":"live"},{"name":"depthWrite","kind":"boolean","doc":"Enable writing to depth buffer","default":true,"applies":"live"}],"raster":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"opacity","kind":"number","default":1,"applies":"live"},{"name":"showBoundingBox","kind":"boolean","default":false,"applies":"reload"}],"terrain":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"showBoundingBox","kind":"boolean","default":false,"applies":"live"},{"name":"skirt","kind":"boolean","doc":"Whether to render skirts along tile boundaries to hide gaps. You should disable `skirt` if you want to visualize an underground model.","default":true,"applies":"reload"},{"name":"skirtExaggeration","kind":"number","doc":"Multiplier for the automatically calculated skirt height. A value of 1.0 uses the default calculated height.","default":1,"applies":"reload"},{"name":"exaggeration","kind":"number","doc":"Vertical exaggeration of the terrain. Terrain heights are scaled by this factor around `exaggerationRelativeHeight`. A negative value is treated as 0, which flattens the terrain. Default: 1.","default":1,"applies":"live"},{"name":"exaggerationRelativeHeight","kind":"number","doc":"Height in meters that stays in place while the terrain is exaggerated: a terrain height `h` is rendered at `(h - exaggerationRelativeHeight) * exaggeration + exaggerationRelativeHeight`. Default: 0.","default":0,"applies":"live"},{"name":"waterMaskColor","kind":"color","doc":"Outer `None`: the update leaves the color as it was. `Some(None)`: the update clears it (`null` or an explicit `undefined`).","applies":"live"},{"name":"waveExaggeration","kind":"number","doc":"Scales the wave slopes on the watermask\'s water, keeping their size and speed; 0 is a flat mirror. Default: 1.","default":1,"applies":"live"},{"name":"waveStrength","kind":"number","doc":"Sets the size, steepness and speed of the waves on the watermask\'s water: about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.","default":5,"applies":"live"},{"name":"waveDirection","kind":"number","doc":"Where the waves on the watermask\'s water travel, in degrees clockwise from north. Default: 0.","default":0,"applies":"live"},{"name":"flowSpeed","kind":"number","doc":"Speed in m/s of the current carrying the waves on the watermask\'s water along `waveDirection`. Default: 0.","default":0,"applies":"live"}],"elevationHeatmap":[{"name":"maxHeight","kind":"number","applies":"live"},{"name":"minHeight","kind":"number","applies":"live"},{"name":"logarithmic","kind":"boolean","applies":"live"},{"name":"logBoundary","kind":"number","applies":"live"},{"name":"filter","kind":"string","doc":"Texture filter mode: \\"linear\\" for bilinear interpolation, \\"nearest\\" for nearest neighbor","applies":"live"},{"name":"colorMap","kind":"list","doc":"Color map lookup table for this layer\'s elevation heatmap rendering. Flattened RGBA array: [r0,g0,b0,a0, r1,g1,b1,a1, ...], evenly spaced over [minHeight, maxHeight]. When None, the elevation renders as grayscale. Managed on the web side (ColorMapAtlas); Rust only hashes it to detect changes.","applies":"live"},{"name":"colorStops","kind":"list","doc":"Optional ascending stop elevations in meters, one per colorMap entry. When set, colorMap entry i is placed at elevation colorStops[i] instead of being evenly spaced over [minHeight, maxHeight]. Managed on the web side (ColorMapAtlas); Rust only hashes it to detect changes.","applies":"live"}],"hillshade":[{"name":"exaggeration","kind":"number","doc":"Exaggeration factor for hillshade effect (default: 1.0)","default":1,"applies":"live"}]}')};function r(e){if(typeof e==`object`&&e){for(let t of Object.values(e))r(t);Object.freeze(e)}return e}var i=r({version:t,...n});function a(e,t){return i.materials[e]?.find(e=>e.name===t)}e.MATERIAL_SCHEMA=i,e.materialField=a});
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.NavaraMaterialSchema={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=`0.3.2-nightly.56.gbfb5e10`,n={layers:{vector:[`point`,`billboard`,`text`,`polyline`,`polygon`],raster:[`raster`,`hillshade`,`elevationHeatmap`],terrain:[`terrain`],"3d-tiles":[`model`]},materials:JSON.parse('{"point":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"size","kind":"number","doc":"size in pixels/meters (units are determined by `sizeInMeters`).","default":0.1,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"pointFacing","kind":"enum","doc":"Plane the point lies in: the screen (`\\"upright\\"`, never foreshortened) or the globe surface around its anchor (`\\"flat\\"`), as MapLibre\'s `icon-pitch-alignment` `viewport` and `map`. Pair with `rotateWithCamera`. Left unset, it is `\\"flat\\"` when `rotateWithCamera` resolves to `false` and `\\"upright\\"` otherwise, as MapLibre resolves `auto`.","options":["upright","flat"],"applies":"live"},{"name":"rotateWithCamera","kind":"boolean","doc":"Whether the point turns with the camera or with the map, as MapLibre\'s `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right (a screen-aligned billboard, or a flat quad yawed to the camera). `false` aligns it with the map: upright, it stays on screen but turns with the camera heading so its x-axis points east; flat, it lies north-up. Left unset, it is `true` for `placement: \\"point\\"` and `false` along a line, as MapLibre resolves `auto`.","applies":"live"},{"name":"rotation","kind":"number","doc":"Rotation of the point within its own plane, about its anchor point, in degrees, clockwise seen from the front. `anchor` decides where inside the quad the pivot sits. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"placement","kind":"enum","doc":"How anchors are derived from line and polygon geometry: `\\"point\\"` (the default) puts one at every line and polygon-ring vertex, `\\"line\\"` repeats them along the line every `spacing`, `\\"line-center\\"` places a single one at the line\'s midpoint. Polygon rings are walked like lines. Requires `geometryTypes` to include `\\"line\\"` or `\\"polygon\\"`.","default":"point","options":["point","line","line-center"],"applies":"reload"},{"name":"spacing","kind":"number","doc":"Distance between repeated anchors along a line, in screen pixels, for `vector-tile` and `geojson` sources alike. Resolved per anchor as the camera moves: anchors thin out as it pulls back and fill in as it closes, never moving, so the gap on screen stays between one and two times `spacing` across a pitched view. As MapLibre does with `symbol-spacing`, a sprite wider than three quarters of the spacing spreads its repeats to its width plus a quarter of the spacing, and a vector tile places anchors only inside its own bounds. Only used by `placement: \\"line\\"`. Defaults to `250.0`.","default":250,"applies":"reload"},{"name":"rotateToLine","kind":"boolean","doc":"Add the line\'s tangent bearing at the anchor to `rotation`, so the sprite turns with the line it sits on. Defaults to `true`.","default":true,"applies":"reload"},{"name":"anchor","kind":"enum","doc":"Part of the quad placed at the anchor point: `\\"center\\"` (default), `\\"left\\"`, `\\"right\\"`, `\\"top\\"`, `\\"bottom\\"`, `\\"top-left\\"`, `\\"top-right\\"`, `\\"bottom-left\\"` or `\\"bottom-right\\"`, as MapLibre\'s `icon-anchor`.","default":"center","options":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"applies":"live"},{"name":"offset","kind":"point","doc":"Shift from the anchor point, x right and y down, in the unit of `size` (meters when `sizeInMeters`, pixels otherwise). Lies in the quad\'s own plane, so it turns with `rotation`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translate","kind":"point","doc":"Screen-pixel shift of the drawn quad, x right and y down, applied after projection so it stays the same number of pixels at any distance, as MapLibre\'s `icon-translate`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translateAnchor","kind":"enum","doc":"Frame `translate` is measured in: `\\"map\\"` (default) turns it with the camera heading so +x points east and +y south; `\\"viewport\\"` keeps it on the screen axes. MapLibre\'s `icon-translate-anchor`.","default":"map","options":["map","viewport"],"applies":"live"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"sizeInMeters","kind":"boolean","doc":"Whether the size is specified in meters. If false, the size is in pixels. Default is true.","default":true,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"live"},{"name":"depthTest","kind":"boolean","default":true,"applies":"live"},{"name":"backfaceCulling","kind":"boolean","doc":"Whether faces seen from behind are culled. Default is false. Only a flat quad has a back the camera can see: turn it on to hide the parts of a large one that wrap over the horizon, which face away from the camera.","default":false,"applies":"live"},{"name":"offsetDepth","kind":"boolean","doc":"Avoid overlapping with the globe surface.","default":true,"applies":"live"},{"name":"transparent","kind":"boolean","default":true,"applies":"live"},{"name":"opacity","kind":"number","default":1,"applies":"live"},{"name":"declutter","kind":"boolean","doc":"Participate in screen-space decluttering: when labels/sprites overlap on screen, lower-priority ones are hidden. Defaults to `true`; set to `false` to draw every label unconditionally.","default":true,"applies":"live"},{"name":"declutterRank","kind":"number","doc":"Coarse placement order for decluttering, compared before `declutterPriority`: every label with a higher rank is placed before any label with a lower one, whatever their priorities. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPriority","kind":"number","doc":"Placement priority for decluttering; higher wins. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPadding","kind":"list","doc":"Extra space around the collision box, in screen pixels: one to four values, expanded like CSS padding (top, right, bottom, left). Only meaningful when `declutter` is enabled. Defaults to `[2]`.","default":[2,2,2,2],"applies":"live"},{"name":"overlap","kind":"enum","doc":"Whether the label may be drawn over symbols placed before it: `\\"never\\"` (the default) hides it on any collision, `\\"always\\"` never does, `\\"cooperative\\"` hides it only when it collides with a `\\"never\\"` symbol. Only meaningful when `declutter` is enabled.","default":"never","options":["never","always","cooperative"],"applies":"live"},{"name":"ignorePlacement","kind":"boolean","doc":"Leave this label\'s box out of the collision grid, so symbols placed after it may overlap it. Only meaningful when `declutter` is enabled. Defaults to `false`.","default":false,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"point\\"`, `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"point\\"]`; adding `\\"line\\"`/`\\"polygon\\"` also emits a point per line-string / polygon-ring vertex.","default":["point"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"billboard":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"size","kind":"number","doc":"size in pixels/meters (units are determined by `sizeInMeters`).","default":0.1,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"billboardFacing","kind":"enum","doc":"Plane the sprite lies in: the screen (`\\"upright\\"`, never foreshortened) or the globe surface around its anchor (`\\"flat\\"`), as MapLibre\'s `icon-pitch-alignment` `viewport` and `map`. Pair with `rotateWithCamera`. Left unset, it is `\\"flat\\"` when `rotateWithCamera` resolves to `false` and `\\"upright\\"` otherwise, as MapLibre resolves `auto`.","options":["upright","flat"],"applies":"live"},{"name":"rotateWithCamera","kind":"boolean","doc":"Whether the sprite turns with the camera or with the map, as MapLibre\'s `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right (a screen-aligned billboard, or a flat quad yawed to the camera). `false` aligns it with the map: upright, it stays on screen but turns with the camera heading so its x-axis points east; flat, it lies north-up. Left unset, it is `true` for `placement: \\"point\\"` and `false` along a line, as MapLibre resolves `auto`.","applies":"live"},{"name":"rotation","kind":"number","doc":"Rotation of the sprite within its own plane, about its anchor point, in degrees, clockwise seen from the front. `anchor` decides where inside the sprite the pivot sits. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"placement","kind":"enum","doc":"How anchors are derived from line and polygon geometry: `\\"point\\"` (the default) puts one per line string, at its first vertex, and one per polygon, `\\"line\\"` repeats them along the line every `spacing`, `\\"line-center\\"` places a single one at the line\'s midpoint. Polygon rings are walked like lines. Requires `geometryTypes` to include `\\"line\\"` or `\\"polygon\\"`.","default":"point","options":["point","line","line-center"],"applies":"reload"},{"name":"spacing","kind":"number","doc":"Distance between repeated anchors along a line, in screen pixels, for `vector-tile` and `geojson` sources alike. Resolved per anchor as the camera moves: anchors thin out as it pulls back and fill in as it closes, never moving, so the gap on screen stays between one and two times `spacing` across a pitched view. As MapLibre does with `symbol-spacing`, a sprite wider than three quarters of the spacing spreads its repeats to its width plus a quarter of the spacing, and a vector tile places anchors only inside its own bounds. Only used by `placement: \\"line\\"`. Defaults to `250.0`.","default":250,"applies":"reload"},{"name":"rotateToLine","kind":"boolean","doc":"Add the line\'s tangent bearing at the anchor to `rotation`, so the sprite turns with the line it sits on. Defaults to `true`.","default":true,"applies":"reload"},{"name":"anchor","kind":"enum","doc":"Part of the quad placed at the anchor point: `\\"center\\"` (default), `\\"left\\"`, `\\"right\\"`, `\\"top\\"`, `\\"bottom\\"`, `\\"top-left\\"`, `\\"top-right\\"`, `\\"bottom-left\\"` or `\\"bottom-right\\"`, as MapLibre\'s `icon-anchor`.","default":"center","options":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"applies":"live"},{"name":"offset","kind":"point","doc":"Shift from the anchor point, x right and y down, in the unit of `size` (meters when `sizeInMeters`, pixels otherwise). Lies in the quad\'s own plane, so it turns with `rotation`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translate","kind":"point","doc":"Screen-pixel shift of the drawn quad, x right and y down, applied after projection so it stays the same number of pixels at any distance, as MapLibre\'s `icon-translate`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translateAnchor","kind":"enum","doc":"Frame `translate` is measured in: `\\"map\\"` (default) turns it with the camera heading so +x points east and +y south; `\\"viewport\\"` keeps it on the screen axes. MapLibre\'s `icon-translate-anchor`.","default":"map","options":["map","viewport"],"applies":"live"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"url","kind":"string","default":"","applies":"live"},{"name":"sizeInMeters","kind":"boolean","doc":"Whether the size is specified in meters. If false, the size is in pixels. Default is true.","default":true,"applies":"live"},{"name":"sizeRelativeToImage","kind":"boolean","doc":"Whether `size` scales the image\'s own pixel height instead of being the quad\'s height, like MapLibre\'s `icon-size`: `1` draws the image at its natural size. `offset` keeps the unit `sizeInMeters` gives it. Default is false.","default":false,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"live"},{"name":"depthTest","kind":"boolean","default":true,"applies":"live"},{"name":"backfaceCulling","kind":"boolean","doc":"Whether faces seen from behind are culled. Default is false. Only a flat quad has a back the camera can see: turn it on to hide the parts of a large one that wrap over the horizon, which face away from the camera.","default":false,"applies":"live"},{"name":"offsetDepth","kind":"boolean","doc":"Avoid overlapping with the globe surface.","default":true,"applies":"live"},{"name":"transparent","kind":"boolean","default":false,"applies":"live"},{"name":"opacity","kind":"number","default":1,"applies":"live"},{"name":"alphaTest","kind":"number","default":0.1,"applies":"live"},{"name":"declutter","kind":"boolean","doc":"Participate in screen-space decluttering: when labels/sprites overlap on screen, lower-priority ones are hidden. Defaults to `true`; set to `false` to draw every label unconditionally.","default":true,"applies":"live"},{"name":"declutterRank","kind":"number","doc":"Coarse placement order for decluttering, compared before `declutterPriority`: every label with a higher rank is placed before any label with a lower one, whatever their priorities. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPriority","kind":"number","doc":"Placement priority for decluttering; higher wins. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPadding","kind":"list","doc":"Extra space around the collision box, in screen pixels: one to four values, expanded like CSS padding (top, right, bottom, left). Only meaningful when `declutter` is enabled. Defaults to `[2]`.","default":[2,2,2,2],"applies":"live"},{"name":"overlap","kind":"enum","doc":"Whether the label may be drawn over symbols placed before it: `\\"never\\"` (the default) hides it on any collision, `\\"always\\"` never does, `\\"cooperative\\"` hides it only when it collides with a `\\"never\\"` symbol. Only meaningful when `declutter` is enabled.","default":"never","options":["never","always","cooperative"],"applies":"live"},{"name":"ignorePlacement","kind":"boolean","doc":"Leave this label\'s box out of the collision grid, so symbols placed after it may overlap it. Only meaningful when `declutter` is enabled. Defaults to `false`.","default":false,"applies":"live"},{"name":"standalone","kind":"boolean","doc":"Whether this may show while its partner at the same anchor (the layer\'s label for a billboard, its billboard for a label) is hidden. With `false` on both, the two are placed together: both show or neither does. Only meaningful when `declutter` is enabled. Defaults to `true`.","default":true,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"point\\"`, `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"point\\"]`; adding `\\"line\\"` also emits a billboard per line string, at its first vertex, and `\\"polygon\\"` one per polygon.","default":["point"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"text":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"size","kind":"number","doc":"size in pixels/meters (units are determined by `sizeInMeters`).","default":10,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"anchor","kind":"enum","doc":"Part of the text block placed at the anchor point: `\\"center\\"` (default), `\\"left\\"`, `\\"right\\"`, `\\"top\\"`, `\\"bottom\\"`, `\\"top-left\\"`, `\\"top-right\\"`, `\\"bottom-left\\"` or `\\"bottom-right\\"`, as MapLibre\'s `text-anchor`. The block is as wide as its widest line and one line height tall per line.","default":"center","options":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"applies":"live"},{"name":"offset","kind":"point","doc":"Shift from the anchor point, x right and y down, in ems (multiples of `size`), as MapLibre\'s `text-offset`. Lies in the label\'s own plane, so it turns with `rotation`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"variableAnchors","kind":"list","doc":"Placements the declutter pass tries in order, keeping the first whose box is free, as MapLibre\'s `text-variable-anchor-offset`. The one in use is tried first, so a label only moves when it must. Overrides `anchor` and `offset` when not empty, except along a line. Without declutter the first is used.","default":[],"applies":"live"},{"name":"translate","kind":"point","doc":"Screen-pixel shift of the drawn label, x right and y down, applied after projection so it stays the same number of pixels at any distance, as MapLibre\'s `text-translate`. Defaults to `(0, 0)`.","default":{"x":0,"y":0},"applies":"live"},{"name":"translateAnchor","kind":"enum","doc":"Frame `translate` is measured in: `\\"map\\"` (default) turns it with the camera heading so +x points east and +y south; `\\"viewport\\"` keeps it on the screen axes. MapLibre\'s `text-translate-anchor`.","default":"map","options":["map","viewport"],"applies":"live"},{"name":"textFacing","kind":"enum","doc":"Plane the label lies in: the screen (`\\"upright\\"`, never foreshortened) or the globe surface around its anchor (`\\"flat\\"`), following its curvature so it reads as painted on the surface. MapLibre\'s `text-pitch-alignment` `viewport` and `map`. Pair with `rotateWithCamera`. Left unset, it is `\\"flat\\"` when `rotateWithCamera` resolves to `false` and `\\"upright\\"` otherwise, as MapLibre resolves `auto`.","options":["upright","flat"],"applies":"live"},{"name":"rotation","kind":"number","doc":"Rotation of the label within its own plane, about its anchor point, in degrees, clockwise seen from the front. Applied on top of whatever orientation `textFacing` and `rotateWithCamera` resolve to: it spins a billboard on screen and turns a surface label like a compass bearing. `anchor` decides where inside the text the pivot sits. Along a line each glyph spins about its own point on the line, as MapLibre\'s `text-rotate` does, except for a straight label (`rotateWithCamera` without `spreadGlyphs`), which turns as a whole. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"rotateWithCamera","kind":"boolean","doc":"Whether the label turns with the camera or with the map, as MapLibre\'s `text-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right (a screen-aligned billboard, or a flat label yawed to the camera). `false` aligns it with the map: upright, it stays on screen but turns with the camera heading so its x-axis points east; flat, it lies north-up. Along a line, `false` makes the label follow the line, and `true` draws it straight at its anchor unless `spreadGlyphs` is set. Left unset, it is `true` for `placement: \\"point\\"` and `false` along a line, as MapLibre resolves `auto`.","applies":"live"},{"name":"placement","kind":"enum","doc":"How anchors are derived from line and polygon geometry: `\\"point\\"` (the default) puts a label per line string, at its first vertex, and one per polygon, `\\"line\\"` repeats labels along the line every `spacing` with the glyphs bending to follow it, `\\"line-center\\"` places a single label at the line\'s midpoint. Polygon rings are walked like lines. Requires `geometryTypes` to include `\\"line\\"` or `\\"polygon\\"`.","default":"point","options":["point","line","line-center"],"applies":"reload"},{"name":"spacing","kind":"number","doc":"Distance between repeated labels along a line, in screen pixels, for `vector-tile` and `geojson` sources alike. Resolved per label as the camera moves: labels thin out as it pulls back and fill in as it closes, never moving, so the gap on screen stays between one and two times `spacing` across a pitched view. As MapLibre does with `symbol-spacing`, a label longer than three quarters of the spacing spreads its repeats to its own length plus a quarter of the spacing, a label within half the spacing of an earlier one with the same text is dropped, and a vector tile places labels only inside its own bounds. Defaults to `250.0`.","default":250,"applies":"reload"},{"name":"maxAngle","kind":"number","doc":"Largest turn, in degrees, the line may make under a label within a window of about one and a half ems before the label is dropped as unreadable. The window slides along the label, so a long gentle curve is accepted however far it turns in total. Defaults to `45.0`.","default":45,"applies":"live"},{"name":"keepUpright","kind":"boolean","doc":"Flip a label that would otherwise read right-to-left, so names stay legible whichever way the underlying line runs. Defaults to `true`.","default":true,"applies":"live"},{"name":"spreadGlyphs","kind":"boolean","doc":"Place each glyph of an along-line label on its own instead of each word. With `rotateWithCamera: false` each glyph turns with the line under it (MapLibre\'s `symbol-placement: \\"line\\"`); with `true`, each glyph turns to the camera like a point label and is spaced on the screen (MapLibre\'s `viewport-glyph`). Can be overridden per feature from a feature evaluator. Defaults to `false`.","default":false,"applies":"live"},{"name":"lineOffset","kind":"number","doc":"Offset perpendicular to the line, in the same units as the font size: pixels when `sizeInMeters` is false, metres when it is true. Positive is to the left of the direction of travel, which puts the name above the line. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"sizeInMeters","kind":"boolean","doc":"Whether the size is specified in meters. If false, the size is in pixels. Default is true.","default":true,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"live"},{"name":"depthTest","kind":"boolean","default":true,"applies":"live"},{"name":"backfaceCulling","kind":"boolean","doc":"Whether faces seen from behind are culled. Default is false. Only a flat quad has a back the camera can see: turn it on to hide the parts of a large one that wrap over the horizon, which face away from the camera.","default":false,"applies":"live"},{"name":"offsetDepth","kind":"boolean","doc":"Avoid overlapping with the globe surface.","default":true,"applies":"live"},{"name":"text","kind":"string","default":"","applies":"live"},{"name":"font","kind":"string","doc":"Specifies either the URL of a single font file or the `family` name of a font family previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf, woff, and woff2. When a family name is used, only the face files whose unicode ranges cover the characters in `text` are fetched, so large scripts (CJK, etc.) can be split into multiple faces and loaded on demand. For each codepoint, the first face (in `faces` order) whose `unicodeRanges` contain the codepoint is used; codepoints not covered by any face fall back to the first face, which may therefore be downloaded even for characters outside its declared ranges. Defaults to `None`: no font is loaded, and the text layer will not render until a font is specified.","default":"","applies":"live"},{"name":"backgroundColor","kind":"color","applies":"live"},{"name":"borderColor","kind":"color","default":0,"applies":"live"},{"name":"borderWidth","kind":"number","default":0.05,"applies":"live"},{"name":"outlineBlur","kind":"number","doc":"Width over which the outline\'s outer edge fades out, centered on that edge, in the unit of `outlineWidth`. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"outlineColor","kind":"color","doc":"Outline color. Defaults to black.","default":0,"applies":"live"},{"name":"outlineOpacity","kind":"number","doc":"Outline opacity, from 0 to 1. Defaults to `1.0`.","default":1,"applies":"live"},{"name":"outlineWidth","kind":"number","doc":"Outline thickness in 1/64 em: pixels of text drawn 64 pixels tall, so the outline keeps its proportion to the glyphs at any size. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"lang","kind":"string","doc":"Language code for text shaping (e.g., \\"en\\", \\"ja\\", \\"ar\\"). Used for proper text rendering.","default":"","applies":"never"},{"name":"highQuality","kind":"boolean","doc":"Enable high-quality glyph rendering. When `true`, text uses an MTSDF atlas (sharper corners at large sizes, dramatically slower rasterization). When `false` or omitted, the default single-channel SDF atlas is used (fast). Mirrors `navara_material::TextMaterial::high_quality` on the Rust side.","default":false,"applies":"reload"},{"name":"opacity","kind":"number","doc":"Opacity of the text","default":1,"applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable transparency and alpha blending","default":true,"applies":"live"},{"name":"maxWidth","kind":"number","doc":"Maximum line width in ems (multiples of `size`) before text wraps at word boundaries. `0.0` (the default) disables wrapping; explicit `\\\\n` characters in `text` always break lines.","default":0,"applies":"live"},{"name":"lineHeight","kind":"number","doc":"Distance between the baselines of a multi-line label, in ems (multiples of `size`). Defaults to the font\'s natural line height (ascender − descender + line gap).","applies":"live"},{"name":"textAlign","kind":"string","doc":"Horizontal alignment of lines within a multi-line block: `\\"left\\"`, `\\"center\\"` (default), `\\"right\\"`, or `\\"auto\\"`, which aligns towards the horizontal side of `anchor` (MapLibre\'s `text-justify`).","default":"center","applies":"live"},{"name":"letterSpacing","kind":"number","doc":"Extra space between characters, in ems (multiples of `size`). Not added after the last character; ignored for Arabic-script text. Negative values tighten. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutter","kind":"boolean","doc":"Participate in screen-space decluttering: when labels/sprites overlap on screen, lower-priority ones are hidden. Defaults to `true`; set to `false` to draw every label unconditionally.","default":true,"applies":"live"},{"name":"declutterRank","kind":"number","doc":"Coarse placement order for decluttering, compared before `declutterPriority`: every label with a higher rank is placed before any label with a lower one, whatever their priorities. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPriority","kind":"number","doc":"Placement priority for decluttering; higher wins. Only meaningful when `declutter` is enabled. Defaults to `0.0`.","default":0,"applies":"live"},{"name":"declutterPadding","kind":"list","doc":"Extra space around the collision box, in screen pixels: one to four values, expanded like CSS padding (top, right, bottom, left). Only meaningful when `declutter` is enabled. Defaults to `[2]`.","default":[2,2,2,2],"applies":"live"},{"name":"overlap","kind":"enum","doc":"Whether the label may be drawn over symbols placed before it: `\\"never\\"` (the default) hides it on any collision, `\\"always\\"` never does, `\\"cooperative\\"` hides it only when it collides with a `\\"never\\"` symbol. Only meaningful when `declutter` is enabled.","default":"never","options":["never","always","cooperative"],"applies":"live"},{"name":"ignorePlacement","kind":"boolean","doc":"Leave this label\'s box out of the collision grid, so symbols placed after it may overlap it. Only meaningful when `declutter` is enabled. Defaults to `false`.","default":false,"applies":"live"},{"name":"standalone","kind":"boolean","doc":"Whether this may show while its partner at the same anchor (the layer\'s label for a billboard, its billboard for a label) is hidden. With `false` on both, the two are placed together: both show or neither does. Only meaningful when `declutter` is enabled. Defaults to `true`.","default":true,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"point\\"`, `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"point\\"]`; adding `\\"line\\"` also emits a label per line string, at its first vertex, and `\\"polygon\\"` one per polygon.","default":["point"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"polyline":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"width","kind":"number","default":1,"applies":"live"},{"name":"maxWidth","kind":"number","doc":"Maximum line width in pixels, clamping the rendered width regardless of zoom level. Smaller values are cheaper to render as they reduce fragment shader overdraw.","default":10000,"applies":"live"},{"name":"dashArray","kind":"list","doc":"Alternating dash and gap lengths, in multiples of the line width, repeated along the line. The pattern\'s period is the sum of the entries, so an odd-length array ends in a dash that runs into the first one. An empty array draws a solid line, which is the default.","applies":"live"},{"name":"cap","kind":"enum","doc":"Shape of the ends of the line and of its dashes: `\\"butt\\"` (the default), `\\"round\\"` or `\\"square\\"`. `\\"round\\"` adds a half circle one half line width in radius beyond both ends of the line and of every dash, so a zero-length dash becomes a dot. `\\"square\\"` extends the ends of the line by half a line width and leaves the dashes\' ends square.","default":"butt","options":["butt","round","square"],"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"reload"},{"name":"tiled","kind":"boolean","doc":"Splits the polyline into XYZ vector tiles for rendering, even when the data source is not an MVT layer. This can improve performance for large polylines. Enabling `clamp_to_ground` implicitly forces `tiled` to `true`.","default":false,"applies":"reload"},{"name":"geodesic","kind":"boolean","doc":"Whether edges of the tiled path (`clamp_to_ground` or `tiled`) follow the geodesic. Defaults to `true`, which also connects consecutive vertices more than 180° apart in longitude the short way, across the antimeridian; a closed ring that would then no longer close, such as one around a pole, is kept as given. When `false`, edges are straight lines in Web Mercator and longitudes are used as given (e.g. 190° is east of 180°), as in MapLibre. Ignored outside the tiled path. Applies to the whole layer: its tiled appearances share one geometry, which follows the geodesic unless every one of them sets `false`. Read when the layer\'s tiles are first built; later changes have no effect.","default":true,"applies":"reload"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"geometryTypes","kind":"enumList","doc":"Source geometry types this appearance consumes: `\\"line\\"`, `\\"polygon\\"`. Defaults to `[\\"line\\"]`; adding `\\"polygon\\"` also renders polygon boundary rings (outer ring and holes) as closed polylines at the ring\'s base height. Extruded-polygon edges stay the polygon material\'s `outline` feature.","default":["line"],"options":["point","line","polygon"],"applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable transparency and alpha blending","default":false,"applies":"live"},{"name":"opacity","kind":"number","doc":"Opacity value","default":1,"applies":"live"},{"name":"depthWrite","kind":"boolean","doc":"Enable writing to depth buffer","default":true,"applies":"live"}],"polygon":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"clampToGround","kind":"boolean","default":true,"applies":"reload"},{"name":"tiled","kind":"boolean","doc":"Splits the polygon into XYZ vector tiles for rendering, even when the data source is not an MVT layer. This can improve performance for large polygons. Enabling `clamp_to_ground` implicitly forces `tiled` to `true`. Outline rendering is not supported when `tiled` is enabled.","default":false,"applies":"reload"},{"name":"geodesic","kind":"boolean","doc":"Whether edges of the tiled path (`clamp_to_ground` or `tiled`) follow the geodesic. Defaults to `true`, which also connects consecutive vertices more than 180° apart in longitude the short way, across the antimeridian; a closed ring that would then no longer close, such as one around a pole, is kept as given. When `false`, edges are straight lines in Web Mercator and longitudes are used as given (e.g. 190° is east of 180°), as in MapLibre. Ignored outside the tiled path. Applies to the whole layer: its tiled appearances share one geometry, which follows the geodesic unless every one of them sets `false`. Read when the layer\'s tiles are first built; later changes have no effect.","default":true,"applies":"reload"},{"name":"height","kind":"number","default":1,"applies":"live"},{"name":"extrudedHeight","kind":"number","applies":"live"},{"name":"wireframe","kind":"boolean","default":false,"applies":"live"},{"name":"reflectivity","kind":"number","doc":"Reflectivity for post-process or env map.","default":0,"applies":"live"},{"name":"roughness","kind":"number","doc":"Reflectivity for post-process.","default":0,"applies":"live"},{"name":"perPositionHeight","kind":"boolean","doc":"Whether or not the height is obtained from the data. If false, the height is constant.","default":false,"applies":"reload"},{"name":"extrusionBase","kind":"enum","doc":"What the bottom follows when `perPositionHeight` is set: `\\"position\\"` keeps both caps at the heights of the positions, `\\"ellipsoid\\"` lays the bottom flat on the ellipsoid.","default":"position","options":["position","ellipsoid"],"applies":"reload"},{"name":"opacity","kind":"number","doc":"Need to enable `transparent`.","default":1,"applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable `opacity`. It might cause unexpected behavior when you use an effect.","default":false,"applies":"live"},{"name":"surfaceShow","kind":"boolean","doc":"Currently, this property is supported only in GeoJSON.","default":true,"applies":"live"},{"name":"outline","kind":"boolean","doc":"Whether to compute outline geometry even while `outlineShow` is `false`, so an update can show it later. Showing the outline always computes it. Read when geometry is built: tiles already loaded keep what they have.","default":false,"applies":"reload"},{"name":"outlineShow","kind":"boolean","doc":"Currently, this property is supported only in GeoJSON.","default":false,"applies":"reload","note":"Applies at once when the layer was added with an outline."},{"name":"outlineColor","kind":"color","doc":"Currently, this property is supported only in GeoJSON.","default":16777215,"applies":"live"},{"name":"outlineWidth","kind":"number","doc":"Currently, this property is supported only in GeoJSON.","default":1,"applies":"live"},{"name":"water","kind":"boolean","doc":"Apply a water material on the polygon. It might slow down the loading of the mesh.","default":false,"applies":"live"},{"name":"waveExaggeration","kind":"number","doc":"Scales the water\'s wave slopes; 0 is a flat mirror.","default":1,"applies":"live"},{"name":"waterScale","kind":"enum","doc":"Extent of the water body, which bounds how far the wind blows over it and so how large its waves grow: `\\"ocean\\"` (the default; open sea), `\\"large\\"` (a bay or a large lake, about 20 km), `\\"medium\\"` (a lake or a wide river, about 2 km) or `\\"small\\"` (a river or a pond, about 200 m).","default":"ocean","options":["ocean","large","medium","small"],"applies":"live"},{"name":"waveStrength","kind":"number","doc":"Sets the size, steepness and speed of the water\'s waves: about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.","default":5,"applies":"live"},{"name":"waveDirection","kind":"number","doc":"Where the water\'s waves travel, in degrees clockwise from north. Default: 0.","default":0,"applies":"live"},{"name":"flowSpeed","kind":"number","doc":"Speed in m/s of the current carrying the water\'s waves along `waveDirection`. Default: 0.","default":0,"applies":"live"},{"name":"shininess","kind":"number","doc":"Phong shininess of the non-water `specular` highlight.","default":100,"applies":"live"},{"name":"specularStrength","kind":"number","default":2,"applies":"live"},{"name":"specular","kind":"boolean","doc":"Enabling this value allows using `shininess` and `specular_strength`. Has no effect on water.","default":false,"applies":"live"},{"name":"ior","kind":"number","default":1.33333,"applies":"live"},{"name":"shadeSidesAsSurface","kind":"boolean","doc":"Shade the extruded sides with the surface normal instead of their own.","default":false,"applies":"live"},{"name":"depthPrePass","kind":"boolean","doc":"Write depth before blending so a transparent layer blends only its nearest surface.","default":false,"applies":"live"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"}],"model":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"url","kind":"string","default":"","applies":"never","note":"A 3D Tiles layer\'s content comes from its tileset."},{"name":"size","kind":"number","default":1,"applies":"reload"},{"name":"height","kind":"number","default":1,"applies":"reload","note":"Applies at once to point clouds."},{"name":"maxSse","kind":"number","default":8,"applies":"reload"},{"name":"shouldRotateInDefault","kind":"boolean","default":true,"applies":"never","note":"A 3D Tiles layer\'s content comes from its tileset."},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"metalness","kind":"number","default":0,"applies":"live"},{"name":"roughness","kind":"number","doc":"Reflectivity for post-process.","default":1,"applies":"live"},{"name":"reflectivity","kind":"number","doc":"Reflectivity for post-process or env map.","default":0,"applies":"never"},{"name":"water","kind":"boolean","doc":"Apply a water material on the polygon. It might slow down the loading of the mesh.","default":false,"applies":"live"},{"name":"waveExaggeration","kind":"number","doc":"Scales the water\'s wave slopes; 0 is a flat mirror.","default":1,"applies":"live"},{"name":"waterScale","kind":"enum","doc":"Extent of the water body, which bounds how far the wind blows over it and so how large its waves grow: `\\"ocean\\"` (the default; open sea), `\\"large\\"` (a bay or a large lake, about 20 km), `\\"medium\\"` (a lake or a wide river, about 2 km) or `\\"small\\"` (a river or a pond, about 200 m).","default":"ocean","options":["ocean","large","medium","small"],"applies":"live"},{"name":"waveStrength","kind":"number","doc":"Sets the size, steepness and speed of the water\'s waves: about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.","default":5,"applies":"live"},{"name":"waveDirection","kind":"number","doc":"Where the water\'s waves travel, in degrees clockwise from north. Default: 0.","default":0,"applies":"live"},{"name":"flowSpeed","kind":"number","doc":"Speed in m/s of the current carrying the water\'s waves along `waveDirection`. Default: 0.","default":0,"applies":"live"},{"name":"shininess","kind":"number","doc":"Phong shininess of the non-water `specular` highlight.","default":100,"applies":"live"},{"name":"specularStrength","kind":"number","default":2,"applies":"live"},{"name":"specular","kind":"boolean","doc":"Enabling this value allows using `shininess` and `specular_strength`. Has no effect on water.","default":false,"applies":"live"},{"name":"ior","kind":"number","default":1.33333,"applies":"live"},{"name":"animationActiveClip","kind":"string","applies":"never"},{"name":"animationSpeed","kind":"number","applies":"never"},{"name":"pointSize","kind":"number","default":0.3,"applies":"live"},{"name":"showBoundingBox","kind":"boolean","default":false,"applies":"live"},{"name":"normals","kind":"boolean","doc":"When true, recompute vertex normals using a creased-normals algorithm after the model loads. Useful for tiled glTF assets that ship without normals or with low-quality normals.","default":false,"applies":"reload"},{"name":"creaseNormalAngle","kind":"number","doc":"Crease angle (in radians) used when `normals` is true. Defaults to 30° (PI/6) when omitted.","applies":"reload"},{"name":"effectIds","kind":"list","doc":"IDs of selective effects to apply (e.g., \\"bloom\\", \\"outline\\")","applies":"live"},{"name":"emissiveIntensity","kind":"number","doc":"Emissive glow intensity (omitted = 0, no emissive output)","applies":"live"},{"name":"emissiveColor","kind":"color","doc":"Emissive glow color in 0xRRGGBB format","applies":"live"},{"name":"transparent","kind":"boolean","doc":"Enable transparency and alpha blending","default":false,"applies":"live"},{"name":"opacity","kind":"number","doc":"Opacity value","default":1,"applies":"live"},{"name":"depthWrite","kind":"boolean","doc":"Enable writing to depth buffer","default":true,"applies":"live"}],"raster":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"color","kind":"color","default":16777215,"applies":"live"},{"name":"opacity","kind":"number","default":1,"applies":"live"},{"name":"showBoundingBox","kind":"boolean","default":false,"applies":"reload"}],"terrain":[{"name":"show","kind":"boolean","default":true,"applies":"live"},{"name":"castShadow","kind":"boolean","default":false,"applies":"live"},{"name":"receiveShadow","kind":"boolean","default":false,"applies":"live"},{"name":"lit","kind":"boolean","doc":"Applies the lighting equation to the color output. When `false` the material outputs plain albedo (for deferred lighting) while normals and the shadow G-buffer keep being written.","applies":"live"},{"name":"showBoundingBox","kind":"boolean","default":false,"applies":"live"},{"name":"skirt","kind":"boolean","doc":"Whether to render skirts along tile boundaries to hide gaps. You should disable `skirt` if you want to visualize an underground model.","default":true,"applies":"reload"},{"name":"skirtExaggeration","kind":"number","doc":"Multiplier for the automatically calculated skirt height. A value of 1.0 uses the default calculated height.","default":1,"applies":"reload"},{"name":"exaggeration","kind":"number","doc":"Vertical exaggeration of the terrain. Terrain heights are scaled by this factor around `exaggerationRelativeHeight`. A negative value is treated as 0, which flattens the terrain. Default: 1.","default":1,"applies":"live"},{"name":"exaggerationRelativeHeight","kind":"number","doc":"Height in meters that stays in place while the terrain is exaggerated: a terrain height `h` is rendered at `(h - exaggerationRelativeHeight) * exaggeration + exaggerationRelativeHeight`. Default: 0.","default":0,"applies":"live"},{"name":"waterMaskColor","kind":"color","doc":"Outer `None`: the update leaves the color as it was. `Some(None)`: the update clears it (`null` or an explicit `undefined`).","applies":"live"},{"name":"waveExaggeration","kind":"number","doc":"Scales the wave slopes on the watermask\'s water, keeping their size and speed; 0 is a flat mirror. Default: 1.","default":1,"applies":"live"},{"name":"waveStrength","kind":"number","doc":"Sets the size, steepness and speed of the waves on the watermask\'s water: about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.","default":5,"applies":"live"},{"name":"waveDirection","kind":"number","doc":"Where the waves on the watermask\'s water travel, in degrees clockwise from north. Default: 0.","default":0,"applies":"live"},{"name":"flowSpeed","kind":"number","doc":"Speed in m/s of the current carrying the waves on the watermask\'s water along `waveDirection`. Default: 0.","default":0,"applies":"live"}],"elevationHeatmap":[{"name":"maxHeight","kind":"number","applies":"live"},{"name":"minHeight","kind":"number","applies":"live"},{"name":"logarithmic","kind":"boolean","applies":"live"},{"name":"logBoundary","kind":"number","applies":"live"},{"name":"filter","kind":"string","doc":"Texture filter mode: \\"linear\\" for bilinear interpolation, \\"nearest\\" for nearest neighbor","applies":"live"},{"name":"colorMap","kind":"list","doc":"Color map lookup table for this layer\'s elevation heatmap rendering. Flattened RGBA array: [r0,g0,b0,a0, r1,g1,b1,a1, ...], evenly spaced over [minHeight, maxHeight]. When None, the elevation renders as grayscale. Managed on the web side (ColorMapAtlas); Rust only hashes it to detect changes.","applies":"live"},{"name":"colorStops","kind":"list","doc":"Optional ascending stop elevations in meters, one per colorMap entry. When set, colorMap entry i is placed at elevation colorStops[i] instead of being evenly spaced over [minHeight, maxHeight]. Managed on the web side (ColorMapAtlas); Rust only hashes it to detect changes.","applies":"live"}],"hillshade":[{"name":"exaggeration","kind":"number","doc":"Exaggeration factor for hillshade effect (default: 1.0)","default":1,"applies":"live"}]}')};function r(e){if(typeof e==`object`&&e){for(let t of Object.values(e))r(t);Object.freeze(e)}return e}var i=r({version:t,...n});function a(e,t){return i.materials[e]?.find(e=>e.name===t)}e.MATERIAL_SCHEMA=i,e.materialField=a});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@navaramap/material-schema",
3
3
  "type": "module",
4
- "version": "0.3.2-nightly.0.setup",
4
+ "version": "0.3.2-nightly.56.gbfb5e10",
5
5
  "main": "dist/index.umd.cjs",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",