Optionalmaxmaximum zoom level at which data from the Layer will be displayed.
Optionalminminimum zoom level at which data from the Layer will be displayed.
OptionalnameName of the Layer.
OptionalrenderOptions to configure the renderer.
Optionalmode?: stringThe used rendering mode. Use '2d' for traditional flat map layers that are located on the ground-plane, otherwise '3d'.
@DefaultValue: '2d'
OptionalzIndex?: numberIndicates the drawing order within the layer. Styles with larger zIndex value are rendered above those with smaller values. The zIndex is defined relative to the "zLayer" property. If "zLayer" is defined all zIndex values are relative to the "zLayer" value.
OptionalzLayer?: numberIndicates drawing order across multiple layers. Styles using zLayer with a high value are rendered on top of zLayers with a low value. If no zLayer is defined the zLayer depends on the display layer order. The first (lowest) layer has a zLayer value of 1.
OptionalvisibleIndicates whether the layer should be visible (true) or hidden (false).
OptionalonEvent Listener that will be called when the layer is added to the display.
Event of type "layerAdd"
OptionalonEvent Listener that will be called when the layer is removed from the display.
Event of type "layerRemove"
OptionalrenderThe render function will be called each frame. It enables seamless drawing into the rendering context of the map. The context states are correctly set already to allow "simple" drawing at the respective zIndex/zLayer. The camera matrix projects from the world coordinate system (WebMercator projected, topLeft [0,0] -> bottomRight [1,1]) to the clipspace.
the rendering context of the map.
the camera matrix of the map.
Options to configure the CustomLayer.