addStyleSource

Adds a new style source.

See https://docs.mapbox.com/mapbox-gl-js/style-spec/#sources

Return

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

Parameters

properties

A map of style source parameters.

sourceId

An identifier for the style source.

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