ModelExtensionImpl

Concrete implementation of ModelPlugin, the plugin is used to add a 3D model to be used in the style.

This API can also be used for updating a model. If the model id was already added, it gets replaced by the new model.

Constructors

ModelExtensionImpl
Link copied to clipboard
fun ModelExtensionImpl(builder: ModelExtensionImpl.Builder)

Types

Builder
Link copied to clipboard
class Builder(modelId: String)

Builder for the ModelExtensionImpl.

Functions

bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface)

Add the model to the style.