addStyleSource

open override fun addStyleSource(sourceId: String, properties: Value): Expected<String, None>

Adds a new style source.

See Style Specification - Sources

Return

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

Parameters

sourceId

An identifier for the style source.

properties

A map of style source parameters.