OptionalaccentOptionalbillboardsReturns whether the billboards of this layer (markers, popups) draw under the labels of the vector tile layers that render them last, rather than over everything. The default is false.
OptionalcontourReturns the contour line color.
OptionalcontourReturns whether GPU contour lines are drawn over the hillshade.
OptionalcontourReturns the spacing between contour lines in meters.
OptionalcontourReturns the contour line half-width in screen pixels.
OptionalcontrastReturns the contrast of the hillshade overlay. This is the equivalent of MapLibre's 'hillshade-exaggeration' paint property: it controls the slope response curve and the overall strength of the shading, not the relief itself.
OptionalcullReturns the culling delay of the layer in milliseconds.
OptionalelevationReturns whether the normal map encodes absolute elevation (so a custom normal-map lighting shader can call getElevation()).
OptionalexagerateReturns the normal vector tile should be exagerated based on the zoom level.
OptionalexaggerationReturns the per-frame relief exaggeration factor, i.e. the vertical exaggeration of the slope. Unlike height scale this is a shader uniform applied at render time (no tile re-decode), so it can be animated smoothly.
OptionalframeReturns the current frame number.
OptionalheightReturns the height scale of the hillshade overlay.
OptionalhighlightReturns the shading color of areas that faces towards the light source.
OptionalhillshadeReturns the hillshade rendering method.
OptionalilluminationReturns the illumination direction of the layer.
OptionalilluminationReturns whether the illumination direction should change with the map rotation.
OptionallegacyReturns whether the legacy (pre-MapLibre-parity) height scale formula is used.
OptionalmaxGets the current maximum overzoom level for this layer.
OptionalmaxGets the current maximum underzoom level for this layer.
OptionalmetaReturns a copy of the layer meta data map. The changes you make to this map are NOT reflected in the actual meta data of the layer.
OptionalnormalOptionalopacityReturns the opacity of this layer.
OptionalpostReturns whether this layer goes through the post-process effect.
OptionalpreloadingReturns the state of the preloading flag of this layer.
OptionalrasterReturns the raster tile event listener.
OptionalshaderReturns the custom fragment shader source.
OptionalshadowReturns the shading color of areas that face away from the light source.
OptionalsynchronizedReturns the state of the synchronized refresh flag.
OptionalterrainReturns whether the layer may shade the 3D terrain's own elevation texture instead of loading a DEM tile set of its own.
OptionalterrainReturns whether the terrain paint shades from the elevation source's own maximum zoom.
OptionaltextureReturns the tile texture cache capacity.
OptionaltileReturns the current relative tile blending speed.
OptionaltileReturns the current tile filter mode.
OptionaltileReturns the tile load listener.
OptionaltileReturns the current tile substitution policy.
OptionalupdateReturns the layer task priority of this layer.
OptionalUTFReturns the tile data source of the associated UTF grid. By default this is null.
OptionalUTFReturns the UTF grid event listener.
OptionalvisibleReturns the visibility of this layer.
OptionalvisibleReturns the visible zoom range of this layer.
OptionalzoomGets the current zoom level bias for this layer.
Returns the shading color used to accentuate rugged terrain like sharp cliffs and gorges.