setViewWithStyleAndCallback abstract method

void setViewWithStyleAndCallback(
  1. ViewProvider view,
  2. IconStyle style,
  3. Callback onFinished
)

Sets the view with the given style for the placemark. Resets icons, animation and the model. The callback will be called immediately after the view finished loading.

onFinished Called when the icon is loaded.

Implementation

void setViewWithStyleAndCallback(
    view_provider.ViewProvider view,
    mapkit_map_icon_style.IconStyle style,
    mapkit_map_callback.Callback onFinished);