WoosmapMapViewWidget.create constructor

WoosmapMapViewWidget.create({
  1. Key? key,
  2. required dynamic onRef(
    1. WoosmapController
    ),
  3. required String wooskey,
  4. AssetImage? loader,
  5. MapOptions? mapOptions,
  6. bool? widget,
  7. IndoorRendererOptions? indoorRendererConfiguration,
  8. IndoorWidgetOptions? indoorWidgetConfiguration,
  9. dynamic indoor_level_changed(
    1. num
    )?,
  10. dynamic indoor_feature_selected(
    1. dynamic
    )?,
  11. dynamic indoor_venue_loaded(
    1. dynamic
    )?,
  12. dynamic indoor_user_location(
    1. dynamic
    )?,
  13. dynamic indoor_directions(
    1. dynamic
    )?,
  14. bool? activate_indoor_product,
  15. dynamic bounds_changed()?,
  16. dynamic center_changed()?,
  17. dynamic click(
    1. dynamic
    )?,
  18. dynamic dblclick(
    1. dynamic
    )?,
  19. dynamic drag()?,
  20. dynamic dragend()?,
  21. dynamic dragstart()?,
  22. dynamic idle()?,
  23. dynamic mousemove(
    1. dynamic
    )?,
  24. dynamic mouseout(
    1. dynamic
    )?,
  25. dynamic mouseover(
    1. dynamic
    )?,
  26. dynamic rightclick(
    1. dynamic
    )?,
  27. dynamic zoom_changed()?,
  28. dynamic store_unselected()?,
  29. dynamic store_selected(
    1. dynamic
    )?,
  30. dynamic routeIndex_changed(
    1. dynamic
    )?,
  31. dynamic indoor_highlight_step(
    1. dynamic
    )?,
  32. dynamic indoor_navigation_started()?,
  33. dynamic indoor_navigation_exited()?,
})

Creates new Object with mapOptions as MapOptions object.

/// onRef - *Required. Callback function that returns WoosmapController object.

wooskey - *Required. Woosmap public key.

mapOptions - Map options defined as MapOptions object.

widget - Sets if the widget should be enabled or not.

indoorRendererConfiguration - The indoor renderer configuration as IndoorRendererOptions object.

indoorWidgetConfiguration - The indoor widget configuration as IndoorWidgetOptions object.

indoor_level_changed - The callback function of the event.

indoor_feature_selected - The callback function of the event.

indoor_venue_loaded - The callback function of the event.

indoor_user_location - The callback function of the event.

indoor_directions - The callback function of the event.

activate_indoor_product - The callback function of the event.

bounds_changed - The callback function of the event.

center_changed - The callback function of the event.

click - The callback function of the event.

dblclick - The callback function of the event.

drag - The callback function of the event.

dragend - The callback function of the event.

dragstart - The callback function of the event.

idle - The callback function of the event.

mousemove - The callback function of the event.

mouseout - The callback function of the event.

mouseover - The callback function of the event.

rightclick - The callback function of the event.

zoom_changed - The callback function of the event.

store_unselected - The callback function of the event.

store_selected - The callback function of the event.

routeIndex_changed - The callback function of the event.

indoor_highlight_step - The callback function of the event.

indoor_navigation_started - The callback function of the event.

indoor_navigation_exited - The callback function of the event.

Implementation

WoosmapMapViewWidget.create(
    {super.key,
    required this.onRef,
    required this.wooskey,
    this.loader,
    this.mapOptions,
    this.widget,
    this.indoorRendererConfiguration,
    this.indoorWidgetConfiguration,
    this.indoor_level_changed,
    this.indoor_feature_selected,
    this.indoor_venue_loaded,
    this.indoor_user_location,
    this.indoor_directions,
    this.activate_indoor_product,
    this.bounds_changed,
    this.center_changed,
    this.click,
    this.dblclick,
    this.drag,
    this.dragend,
    this.dragstart,
    this.idle,
    this.mousemove,
    this.mouseout,
    this.mouseover,
    this.rightclick,
    this.zoom_changed,
    this.store_unselected,
    this.store_selected,
    this.routeIndex_changed,
    this.indoor_highlight_step,
    this.indoor_navigation_started,
    this.indoor_navigation_exited});