Custom Layer
Layer with custom rendering implementation.
With the power of CustomLayerHost you can implement your own Open GL ES rendering behaviour and manipulate layer as a usual one.
Parameters
mandatory custom layer id.
an instance of user-defined OpenGL ES renderer. Note: there is no API to get instance of CustomLayerHost from CustomLayer after setting it here so this instance should be cached on user's end if needed.
Constructors
Types
Functions
Bind the layer to the Style.
Bind the layer to the map controller.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.
Whether this layer is displayed.