addStyleImage abstract method

Future<void> addStyleImage(
  1. String imageId,
  2. double scale,
  3. MbxImage image,
  4. bool sdf,
  5. List<ImageStretches?> stretchX,
  6. List<ImageStretches?> stretchY,
  7. ImageContent? content,
)

Adds an image to the style. Existing images with the same imageId are replaced.

Implementation

Future<void> addStyleImage(
  String imageId,
  double scale,
  MbxImage image,
  bool sdf,
  List<ImageStretches?> stretchX,
  List<ImageStretches?> stretchY,
  ImageContent? content,
);