ModelIdValue

Model to render.

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.

Constructors

Link copied to clipboard
fun ModelIdValue(value: String)

Construct the ModelIdValue with String.

Link copied to clipboard
fun ModelIdValue(modelId: String, uri: String)

Construct the ModelIdValue with modelId and uri.

Link copied to clipboard
fun ModelIdValue(expression: Expression)

Construct the ModelIdValue with Mapbox Expression.

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard

The String represented by value or null if the stored Value is not a String.

Link copied to clipboard
val modelInfo: Pair<String, String>? = null
Link copied to clipboard

The optional uri of the model if it's defined.

Link copied to clipboard