add Style Custom Raster Source
open override 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 fetchTile@MainThread override function 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.