setIcon abstract method

void setIcon(
  1. AnimatedImageProvider image,
  2. IconStyle style
)

Sets the animated image and icon style. The new animation will be in the paused state.

Implementation

void setIcon(animated_image_provider.AnimatedImageProvider image,
    mapkit_map_icon_style.IconStyle style);