updateStyleImageSourceImage method
- @Deprecated('Use updateImageForSource with StyleImage.bytes or StyleImage.rgba.')
Replaces the image data of an existing image-type style source.
Prefer updateImageForSource with a StyleImage.
Implementation
@Deprecated(
'Use updateImageForSource with StyleImage.bytes or StyleImage.rgba.',
)
Future<void> updateStyleImageSourceImage(String sourceId, MbxImage image) =>
_impl.updateStyleImageSourceImage(sourceId, image.toStyleImage());