WemapMap constructor

WemapMap({
  1. Key? key,
  2. required MapOptions options,
  3. Locale? locale,
  4. Locale? fallbackLocale,
  5. Widget? progressIndicator,
  6. Widget mapDataLoadFailed(
    1. BuildContext context,
    2. Object? error,
    3. StackTrace? stackTrace
    )?,
  7. bool levelsTabEnabled = false,
  8. bool filtersTabEnabled = false,
  9. bool searchBarEnabled = false,
  10. bool poisListSheetEnabled = false,
  11. bool navigationWidgetEnabled = false,
  12. bool itineraryWidgetEnabled = false,
  13. bool detailedViewEnabled = false,
  14. bool userLocationButtonEnabled = false,
  15. bool augmentedRealityButtonEnabled = false,
  16. bool vpsBadConnectionDialog = false,
  17. bool vpsNoConnectionDialog = false,
  18. bool vpsTimedOutDialog = false,
  19. bool holdUpPhoneDialog = false,
  20. bool vpsInProcessScreen = false,
  21. bool arrivedToDestinationDialog = false,
  22. bool navigationSuggestionDialog = false,
  23. bool scanSuggestionDialog = false,
  24. OnMapReadyCallback? onMapReady,
  25. OnBuildingFocusChangedCallback? onBuildingFocusChanged,
  26. OnActiveLevelChangedCallback? onActiveLevelChanged,
  27. OnPointOfInterestSelectedCallback? onPointOfInterestSelected,
  28. OnPointOfInterestUnselectedCallback? onPointOfInterestUnselected,
  29. OnStartedVpsProcessCallback? onStartedVpsProcess,
  30. OnStoppingVpsProcessCallback? onStoppingVpsProcess,
  31. OnNavigationStartedCallback? onNavigationStarted,
  32. OnNavigationStoppedCallback? onNavigationStopped,
  33. OnStateChangedCallback? onStateChanged,
  34. OnMapClickCallBack? onMapClick,
  35. OnMapLongClickCallBack? onMapLongClick,
  36. OnMarkerClickCallBack? onMarkerClick,
  37. OnVPSBadConnectionCallback? onVPSBadConnection,
  38. OnVPSNoConnectionCallback? onVPSNoConnection,
  39. OnNavigationFailedCallback? onNavigationFailed,
  40. OnNavigationInfoChangedCallback? onNavigationInfoChanged,
  41. OnArrivedAtDestinationCallback? onArrivedAtDestination,
  42. OnItineraryAddedCallback? onItineraryAdded,
  43. OnItineraryRemovedCallback? onItineraryRemoved,
  44. OnItineraryFailedCallback? onItineraryFailed,
  45. OnCameraTrackingChangedCallback? onCameraTrackingChanged,
  46. OnNotPositioningReasonChangedCallback? onScanReasonChanged,
  47. OnBackgroundScanStatusChangedCallback? onBackgroundScanStatusChanged,
  48. OnUserLocalizedCallback? onUserLocalized,
  49. OnARViewVisibilityChangedCallback? onARViewVisibilityChanged,
})

Implementation

WemapMap({super.key,
  required this.options,
  this.locale,
  this.fallbackLocale,
  this.progressIndicator,
  this.mapDataLoadFailed,
  this.levelsTabEnabled = false,
  this.filtersTabEnabled = false,
  this.searchBarEnabled = false,
  this.poisListSheetEnabled = false,
  this.navigationWidgetEnabled = false,
  this.itineraryWidgetEnabled = false,
  this.detailedViewEnabled = false,
  this.userLocationButtonEnabled = false,
  this.augmentedRealityButtonEnabled = false,
  this.vpsBadConnectionDialog = false,
  this.vpsNoConnectionDialog = false,
  this.vpsTimedOutDialog = false,
  this.holdUpPhoneDialog = false,
  this.vpsInProcessScreen = false,
  this.arrivedToDestinationDialog = false,
  this.navigationSuggestionDialog = false,
  this.scanSuggestionDialog = false,
  this.onMapReady,
  this.onBuildingFocusChanged,
  this.onActiveLevelChanged,
  this.onPointOfInterestSelected,
  this.onPointOfInterestUnselected,
  this.onStartedVpsProcess,
  this.onStoppingVpsProcess,
  this.onNavigationStarted,
  this.onNavigationStopped,
  this.onStateChanged,
  this.onMapClick,
  this.onMapLongClick,
  this.onMarkerClick,
  this.onVPSBadConnection,
  this.onVPSNoConnection,
  this.onNavigationFailed,
  this.onNavigationInfoChanged,
  this.onArrivedAtDestination,
  this.onItineraryAdded,
  this.onItineraryRemoved,
  this.onItineraryFailed,
  this.onCameraTrackingChanged,
  this.onScanReasonChanged,
  this.onBackgroundScanStatusChanged,
  this.onUserLocalized,
  this.onARViewVisibilityChanged});