addStyleModel

fun addStyleModel(modelId: String, modelUri: String)

Adds a model to be used in the style. This API can also be used for updating a model. If the model for a given modelId was already added, it gets replaced by the new model.

The model can be used in model-id property in model layer.

Parameters

modelId

An identifier of the model.

modelUri

A URI for the model.