updateImage

Updates the image of an image style source with Bitmap provided.

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

Important: This method will allocate native memory outside the JVM heap every time it is called. Even if the same bitmap is passed.

Parameters

bitmap

Bitmap to update given image style source.


Updates the image of an image style source with Image provided.

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

Parameters

image

Image to update given image style source.