Custom Layer Host
interface CustomLayerHost
Content copied to clipboard
Interface for hosting a custom map style layer.
Functions
context Lost
Link copied to clipboard
abstract fun contextLost()
Content copied to clipboard
Called when the system has destroyed the underlying GL context.
deinitialize
Link copied to clipboard
abstract fun deinitialize()
Content copied to clipboard
Destroy any GL state needed by the custom layer, and deallocate context, if necessary.
initialize
Link copied to clipboard
abstract fun initialize()
Content copied to clipboard
Initialize any GL state needed by the custom layer.
prerender
Link copied to clipboard
open fun prerender(@NonNull parameters: CustomLayerRenderParameters): CustomLayerRenderConfiguration
Content copied to clipboard
Note!
render
Link copied to clipboard
Render the layer.
render To Tile
Link copied to clipboard
Note!