addStyleCustomGeometrySource

Adds a custom geometry to be used in the style. To add the data, implement the fetchTileFunction callback in the options and call setStyleCustomGeometrySourceTileData()

Parameters

options

Settings for the custom geometry

sourceId

Style source identifier

open override fun addStyleCustomGeometrySource(sourceId: String, options: CustomGeometrySourceOptions): Expected<Void, String>