Skip to main content

Layers

What is drawn, in the order the map holds them. Created with kind layer.

TypeClass
"celestial"CelestialLayer
"composite-vector"CompositeVectorTileLayer
"elements"VectorLayer
"hillshade"HillshadeRasterTileLayer
"raster"RasterTileLayer
"solid"SolidLayer
"vector"VectorTileLayer

"celestial" — CelestialLayer​

{"type": "celestial"}
KeyTypeAlways requiredNotes
PropertyTypeAccessDescription
celestialEventListenerobject layers.CelestialEventListenerread/writeReturns the object event listener.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
addobject: handlevoid
clear—void
refresh—void
removeobject: handlebool
EventPayloadConsumable
celestial.clickedCelestialClickInfoyes
sky.clickedCelestialClickInfoyes

"composite-vector" — CompositeVectorTileLayer​

{"type": "composite-vector", "source": …, "style": …}
KeyTypeAlways requiredNotes
sourceobject std::shared_ptr<TileDataSource>yesan id of kind source, or an inline spec
styleobject std::shared_ptr<VectorTileDecoder>yesan id of kind style, or an inline spec

Inherited from VectorTileLayer:

PropertyTypeAccessDescription
buildingRenderOrderenumread/writeReturns the current display order of the buildings. LAST draws over flat labels too: a label that must clear a building is a billboard one, whose pass runs after the buildings.
clickHandlerLayerFilterstringread/writeReturns the click handler layer filter. The filter is given as ECMA regular expression that is applied to qualified layer names.
clickRadiusnumberread/writeReturns the click radius of vector tile features. Units are screen density independent pixels (DP or DIP).
labelBlendingSpeednumberread/writeReturns the current relative label blending speed.
labelPerspectiveScalingnumberread/writeReturns how much of the perspective divide a label keeps as it recedes from the camera.
labelRenderOrderenumread/writeReturns the current display order of the labels.
layerBlendingSpeednumberread/writeReturns the current relative layer blending speed.
rendererLayerFilterstringread/writeReturns the renderer layer filter. The filter is given as ECMA regular expression that is applied to qualified layer names.
tileCacheCapacityintegerread/writeReturns the tile cache capacity.
tileDecoder
or style
object vectortiles.VectorTileDecoderread-onlyReturns the tile decoder assigned to this layer.
vectorTileEventListenerobject layers.VectorTileEventListenerread/writeReturns the vector tile event listener.

Inherited from TileLayer:

PropertyTypeAccessDescription
UTFGridDataSourceobject datasources.TileDataSourceread/writeReturns the tile data source of the associated UTF grid. By default this is null.
UTFGridEventListenerobject layers.UTFGridEventListenerread/writeReturns the UTF grid event listener.
dataSource
or source
object datasources.TileDataSourceread-onlyReturns the data source assigned to this layer.
frameNrintegerread/writeReturns the current frame number.
maxOverzoomLevelintegerread/writeGets the current maximum overzoom level for this layer.
maxUnderzoomLevelintegerread/writeGets the current maximum underzoom level for this layer.
preloadingbooleanread/writeReturns the state of the preloading flag of this layer.
preloadingTileCountintegerread-only
projectionobject projections.Projectionread-onlyReturns the projection this layer's data is in, which is its data source's.
synchronizedRefreshbooleanread/writeReturns the state of the synchronized refresh flag.
tileLoadListenerobject layers.TileLoadListenerread/writeReturns the tile load listener.
tileSubstitutionPolicyenumread/writeReturns the current tile substitution policy.
visibleTileCountintegerread-onlyHow many tiles the last cull put on screen. A diagnostic: it is what the tile LOD numbers actually cost.
zoomLevelBiasnumberread/writeGets the current zoom level bias for this layer.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
addExternalDataSourcename: string, dataSource: handle, type: intvoid
addVectorDataSourcename: string, dataSource: handlevoid
clearTileCachesall: boolvoid
getExternalChildLayername: stringobject
getExternalDataSourceNames—json
refresh—void
removeExternalDataSourcename: stringbool
setExternalDataSourceMaxOverzoomLevelname: string, level: intvoid
setExternalDataSourceZoomLevelBiasname: string, bias: floatvoid
EventPayloadConsumable
vectortile.clickedVectorTileClickInfoyes

"elements" — VectorLayer​

{"type": "elements", "source": …}
KeyTypeAlways requiredNotes
sourceobject std::shared_ptr<VectorDataSource>yesan id of kind source, or an inline spec
PropertyTypeAccessDescription
ZBufferingbooleanread/writeReturns true if Z-buffering is enabled for 2D geometry. By default it is disabled and used only for billboards.
dataSourceobject datasources.VectorDataSourceread-onlyReturns the vector data source of this vector layer.
vectorElementEventListenerobject layers.VectorElementEventListenerread/writeReturns the vector element event listener.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
refresh—void
EventPayloadConsumable
vectorelement.clickedVectorElementClickInfoyes

"hillshade" — HillshadeRasterTileLayer​

{"type": "hillshade", "source": …}
KeyTypeAlways requiredNotes
sourceobject std::shared_ptr<TileDataSource>yesan id of kind source, or an inline spec
PropertyTypeAccessDescription
accentColorcolorread/writeReturns the shading color used to accentuate rugged terrain like sharp cliffs and gorges.
contourColorcolorread/writeReturns the contour line color.
contourEnabledbooleanread/writeReturns whether GPU contour lines are drawn over the hillshade.
contourIntervalnumberread/writeReturns the spacing between contour lines in meters.
contourWidthnumberread/writeReturns the contour line half-width in screen pixels.
contrastnumberread/writeReturns 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.
elevationEncodingEnabledbooleanread/writeReturns whether the normal map encodes absolute elevation (so a custom normal-map lighting shader can call getElevation()).
exagerateHeightScaleEnabledbooleanread/writeReturns the normal vector tile should be exagerated based on the zoom level.
exaggerationnumberread/writeReturns 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.
heightScalenumberread/writeReturns the height scale of the hillshade overlay.
highlightColorcolorread/writeReturns the shading color of areas that faces towards the light source.
hillshadeMethodenumread/writeReturns the hillshade rendering method.
illuminationDirectionstruct massif::MapVecread/writeReturns the illumination direction of the layer.
illuminationMapRotationEnabledbooleanread/writeReturns whether the illumination direction should change with the map rotation.
legacyHeightScaleEnabledbooleanread/writeReturns whether the legacy (pre-MapLibre-parity) height scale formula is used.
normalMapLightingShaderstringread/write
shadowColorcolorread/writeReturns the shading color of areas that face away from the light source.
terrainPaintEnabledbooleanread/writeReturns whether the layer may shade the 3D terrain's own elevation texture instead of loading a DEM tile set of its own.
terrainPaintFullDetailEnabledbooleanread/writeReturns whether the terrain paint shades from the elevation source's own maximum zoom.

Inherited from CustomRasterTileLayer:

PropertyTypeAccessDescription
shaderSourcestringread/writeReturns the custom fragment shader source.

Inherited from RasterTileLayer:

PropertyTypeAccessDescription
rasterTileEventListenerobject layers.RasterTileEventListenerread/writeReturns the raster tile event listener.
textureCacheCapacityintegerread/writeReturns the tile texture cache capacity.
tileBlendingSpeednumberread/writeReturns the current relative tile blending speed.
tileFilterModeenumread/writeReturns the current tile filter mode.

Inherited from TileLayer:

PropertyTypeAccessDescription
UTFGridDataSourceobject datasources.TileDataSourceread/writeReturns the tile data source of the associated UTF grid. By default this is null.
UTFGridEventListenerobject layers.UTFGridEventListenerread/writeReturns the UTF grid event listener.
dataSource
or source
object datasources.TileDataSourceread-onlyReturns the data source assigned to this layer.
frameNrintegerread/writeReturns the current frame number.
maxOverzoomLevelintegerread/writeGets the current maximum overzoom level for this layer.
maxUnderzoomLevelintegerread/writeGets the current maximum underzoom level for this layer.
preloadingbooleanread/writeReturns the state of the preloading flag of this layer.
preloadingTileCountintegerread-only
projectionobject projections.Projectionread-onlyReturns the projection this layer's data is in, which is its data source's.
synchronizedRefreshbooleanread/writeReturns the state of the synchronized refresh flag.
tileLoadListenerobject layers.TileLoadListenerread/writeReturns the tile load listener.
tileSubstitutionPolicyenumread/writeReturns the current tile substitution policy.
visibleTileCountintegerread-onlyHow many tiles the last cull put on screen. A diagnostic: it is what the tile LOD numbers actually cost.
zoomLevelBiasnumberread/writeGets the current zoom level bias for this layer.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
clearTileCachesall: boolvoid
getElevationpos: posfloat
getElevationspositions: positionsdoubles
refresh—void

"raster" — RasterTileLayer​

{"type": "raster", "source": …}
KeyTypeAlways requiredNotes
sourceobject std::shared_ptr<TileDataSource>yesan id of kind source, or an inline spec
PropertyTypeAccessDescription
rasterTileEventListenerobject layers.RasterTileEventListenerread/writeReturns the raster tile event listener.
textureCacheCapacityintegerread/writeReturns the tile texture cache capacity.
tileBlendingSpeednumberread/writeReturns the current relative tile blending speed.
tileFilterModeenumread/writeReturns the current tile filter mode.

Inherited from TileLayer:

PropertyTypeAccessDescription
UTFGridDataSourceobject datasources.TileDataSourceread/writeReturns the tile data source of the associated UTF grid. By default this is null.
UTFGridEventListenerobject layers.UTFGridEventListenerread/writeReturns the UTF grid event listener.
dataSource
or source
object datasources.TileDataSourceread-onlyReturns the data source assigned to this layer.
frameNrintegerread/writeReturns the current frame number.
maxOverzoomLevelintegerread/writeGets the current maximum overzoom level for this layer.
maxUnderzoomLevelintegerread/writeGets the current maximum underzoom level for this layer.
preloadingbooleanread/writeReturns the state of the preloading flag of this layer.
preloadingTileCountintegerread-only
projectionobject projections.Projectionread-onlyReturns the projection this layer's data is in, which is its data source's.
synchronizedRefreshbooleanread/writeReturns the state of the synchronized refresh flag.
tileLoadListenerobject layers.TileLoadListenerread/writeReturns the tile load listener.
tileSubstitutionPolicyenumread/writeReturns the current tile substitution policy.
visibleTileCountintegerread-onlyHow many tiles the last cull put on screen. A diagnostic: it is what the tile LOD numbers actually cost.
zoomLevelBiasnumberread/writeGets the current zoom level bias for this layer.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
clearTileCachesall: boolvoid
refresh—void

"solid" — SolidLayer​

{"type": "solid", "color": …}
{"type": "solid", "bitmap": …}
KeyTypeAlways requiredNotes
colorstruct Colorno
bitmapobject std::shared_ptr<Bitmap>noan id of kind bitmap, or an inline spec
PropertyTypeAccessDescription
bitmapobject std::shared_ptr<massif::Bitmap>read/writeReturns the bitmap of this layer.
bitmapScalenumberread/writeReturns the bitmap scaling factor.
colorcolorread/writeReturns the color of this layer.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
refresh—void

"vector" — VectorTileLayer​

{"type": "vector", "source": …, "style": …}
KeyTypeAlways requiredNotes
sourceobject std::shared_ptr<TileDataSource>yesan id of kind source, or an inline spec
styleobject std::shared_ptr<VectorTileDecoder>yesan id of kind style, or an inline spec
PropertyTypeAccessDescription
buildingRenderOrderenumread/writeReturns the current display order of the buildings. LAST draws over flat labels too: a label that must clear a building is a billboard one, whose pass runs after the buildings.
clickHandlerLayerFilterstringread/writeReturns the click handler layer filter. The filter is given as ECMA regular expression that is applied to qualified layer names.
clickRadiusnumberread/writeReturns the click radius of vector tile features. Units are screen density independent pixels (DP or DIP).
labelBlendingSpeednumberread/writeReturns the current relative label blending speed.
labelPerspectiveScalingnumberread/writeReturns how much of the perspective divide a label keeps as it recedes from the camera.
labelRenderOrderenumread/writeReturns the current display order of the labels.
layerBlendingSpeednumberread/writeReturns the current relative layer blending speed.
rendererLayerFilterstringread/writeReturns the renderer layer filter. The filter is given as ECMA regular expression that is applied to qualified layer names.
tileCacheCapacityintegerread/writeReturns the tile cache capacity.
tileDecoder
or style
object vectortiles.VectorTileDecoderread-onlyReturns the tile decoder assigned to this layer.
vectorTileEventListenerobject layers.VectorTileEventListenerread/writeReturns the vector tile event listener.

Inherited from TileLayer:

PropertyTypeAccessDescription
UTFGridDataSourceobject datasources.TileDataSourceread/writeReturns the tile data source of the associated UTF grid. By default this is null.
UTFGridEventListenerobject layers.UTFGridEventListenerread/writeReturns the UTF grid event listener.
dataSource
or source
object datasources.TileDataSourceread-onlyReturns the data source assigned to this layer.
frameNrintegerread/writeReturns the current frame number.
maxOverzoomLevelintegerread/writeGets the current maximum overzoom level for this layer.
maxUnderzoomLevelintegerread/writeGets the current maximum underzoom level for this layer.
preloadingbooleanread/writeReturns the state of the preloading flag of this layer.
preloadingTileCountintegerread-only
projectionobject projections.Projectionread-onlyReturns the projection this layer's data is in, which is its data source's.
synchronizedRefreshbooleanread/writeReturns the state of the synchronized refresh flag.
tileLoadListenerobject layers.TileLoadListenerread/writeReturns the tile load listener.
tileSubstitutionPolicyenumread/writeReturns the current tile substitution policy.
visibleTileCountintegerread-onlyHow many tiles the last cull put on screen. A diagnostic: it is what the tile LOD numbers actually cost.
zoomLevelBiasnumberread/writeGets the current zoom level bias for this layer.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
clearTileCachesall: boolvoid
refresh—void
EventPayloadConsumable
vectortile.clickedVectorTileClickInfoyes

Base classes​

Not constructed directly. Their properties are reachable on every object above that derives from them.

CustomRasterTileLayer​

PropertyTypeAccessDescription
shaderSourcestringread/writeReturns the custom fragment shader source.

Inherited from RasterTileLayer:

PropertyTypeAccessDescription
rasterTileEventListenerobject layers.RasterTileEventListenerread/writeReturns the raster tile event listener.
textureCacheCapacityintegerread/writeReturns the tile texture cache capacity.
tileBlendingSpeednumberread/writeReturns the current relative tile blending speed.
tileFilterModeenumread/writeReturns the current tile filter mode.

Inherited from TileLayer:

PropertyTypeAccessDescription
UTFGridDataSourceobject datasources.TileDataSourceread/writeReturns the tile data source of the associated UTF grid. By default this is null.
UTFGridEventListenerobject layers.UTFGridEventListenerread/writeReturns the UTF grid event listener.
dataSource
or source
object datasources.TileDataSourceread-onlyReturns the data source assigned to this layer.
frameNrintegerread/writeReturns the current frame number.
maxOverzoomLevelintegerread/writeGets the current maximum overzoom level for this layer.
maxUnderzoomLevelintegerread/writeGets the current maximum underzoom level for this layer.
preloadingbooleanread/writeReturns the state of the preloading flag of this layer.
preloadingTileCountintegerread-only
projectionobject projections.Projectionread-onlyReturns the projection this layer's data is in, which is its data source's.
synchronizedRefreshbooleanread/writeReturns the state of the synchronized refresh flag.
tileLoadListenerobject layers.TileLoadListenerread/writeReturns the tile load listener.
tileSubstitutionPolicyenumread/writeReturns the current tile substitution policy.
visibleTileCountintegerread-onlyHow many tiles the last cull put on screen. A diagnostic: it is what the tile LOD numbers actually cost.
zoomLevelBiasnumberread/writeGets the current zoom level bias for this layer.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
clearTileCachesall: boolvoid
refresh—void

Layer​

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
refresh—void

TileLayer​

PropertyTypeAccessDescription
UTFGridDataSourceobject datasources.TileDataSourceread/writeReturns the tile data source of the associated UTF grid. By default this is null.
UTFGridEventListenerobject layers.UTFGridEventListenerread/writeReturns the UTF grid event listener.
dataSource
or source
object datasources.TileDataSourceread-onlyReturns the data source assigned to this layer.
frameNrintegerread/writeReturns the current frame number.
maxOverzoomLevelintegerread/writeGets the current maximum overzoom level for this layer.
maxUnderzoomLevelintegerread/writeGets the current maximum underzoom level for this layer.
preloadingbooleanread/writeReturns the state of the preloading flag of this layer.
preloadingTileCountintegerread-only
projectionobject projections.Projectionread-onlyReturns the projection this layer's data is in, which is its data source's.
synchronizedRefreshbooleanread/writeReturns the state of the synchronized refresh flag.
tileLoadListenerobject layers.TileLoadListenerread/writeReturns the tile load listener.
tileSubstitutionPolicyenumread/writeReturns the current tile substitution policy.
visibleTileCountintegerread-onlyHow many tiles the last cull put on screen. A diagnostic: it is what the tile LOD numbers actually cost.
zoomLevelBiasnumberread/writeGets the current zoom level bias for this layer.

Inherited from Layer:

PropertyTypeAccessDescription
billboardsUnderLabelsbooleanread/writeReturns 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.
cullDelayintegerread/writeReturns the culling delay of the layer in milliseconds.
metaDatastruct std::map<std::string, massif::Variant>read/writeReturns 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.
opacitynumberread/writeReturns the opacity of this layer.
postProcessedbooleanread/writeReturns whether this layer goes through the post-process effect.
updatePriorityintegerread/writeReturns the layer task priority of this layer.
visiblebooleanread/writeReturns the visibility of this layer.
visibleZoomRangestruct massif::MapRangeread/writeReturns the visible zoom range of this layer.
MethodArgumentsReturns
clearTileCachesall: boolvoid
refresh—void