add Style Custom Raster Source
open fun addStyleCustomRasterSource(sourceId: String, options: CustomRasterSourceOptions): Expected<String, None>
Note! This is an experimental feature. It can be changed or removed in future versions.
Adds a custom raster source to be used in the style. To add the data, implement the fetchTileFunction callback in the options and call setStyleCustomRasterSourceTileData()
Parameters
source Id
A style source identifier
options
The custom raster source options
for the custom raster source.