ModelId

fun ModelId(value: String)

Construct the ModelId with String.


fun ModelId(modelId: String, uri: String)

Construct the ModelId with modelId and uri.

Parameters

modelId

the ID of the model

uri

the uri of the model


fun ModelId(expression: Expression)

Construct the ModelId with Mapbox Expression.


fun ModelId(value: Value, modelInfo: Pair<String, String>? = null)

Parameters

value

the property wrapped in Value to be used with native renderer.

modelInfo

The optional 3D model information, including the model id and model uri as a pair of String. It will be added to the style if available.