updateStyleImportWithURI

open override fun updateStyleImportWithURI(importId: String, uri: String, config: HashMap<String, Value>?): Expected<String, None>

Updates an existing import in the style. The function replaces the content of the import, with the content loaded from the provided URI. The configuration values of the import are merged with the configuration provided in the update.

Return

A string describing an error if the operation was not successful, or empty otherwise.

Parameters

importId

Identifier of import to update.

uri

URI of the import.

config

A map containing the configuration options of the import.