forceUpdateIcon abstract method

void forceUpdateIcon(
  1. PlacemarkIconType iconType,
  2. ImageProvider image,
  3. IconStyle style, {
  4. required String geoObjectId,
})

Update the icon image for each suitable placemark. If the placemark is not found, the image will be put in a queue and will be applied once when the placemark is created. This is not the normal way to set the image. It is highly advisable to return the right image from AssetsProvider.

geoObjectId Placemark identifier iconType Icon type image Icon image style Icon style

Implementation

void forceUpdateIcon(
  search_search_layer_assets_provider.PlacemarkIconType iconType,
  image_provider.ImageProvider image,
  mapkit_map_icon_style.IconStyle style, {
  required core.String geoObjectId,
});