updateStyleImageSourceImage

open override fun updateStyleImageSourceImage(sourceId: String, image: Image): Expected<String, None>

Updates the image of an image style source.

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

Return

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

Parameters

image

Pixel data of the image.

sourceId

Style source identifier.