WemapMap class

The WemapMap widget, to display the map

launch the map using token and mapID on the options attribute. different events are being listened and provided (as attributes), add your custom callback to each event.

Inheritance

Constructors

WemapMap({Key? key, required MapOptions options, Locale? locale, Locale? fallbackLocale, Widget? progressIndicator, Widget? mapDataLoadFailed, bool levelsTabEnabled = true, bool filtersTabEnabled = true, bool searchBarEnabled = true, bool detailedViewEnabled = true, bool userLocationButtonEnabled = true, bool augmentedRealityButtonEnabled = false, bool vpsBadConnectionDialog = true, bool vpsNoConnectionDialog = true, bool vpsTimedOutDialog = true, bool vpsInProcessScreen = true, bool arrivedToDestinationDialog = true, bool navigationSuggestionDialog = true, OnMapReadyCallback? onMapReady, OnBuildingFocusChangedCallback? onBuildingFocusChanged, OnActiveLevelChangedCallback? onActiveLevelChanged, OnPointOfInterestSelectedCallback? onPointOfInterestSelected, OnPointOfInterestUnselectedCallback? onPointOfInterestUnselected, OnStartedVpsProcessCallback? onStartedVpsProcess, OnStoppingVpsProcessCallback? onStoppingVpsProcess, OnNavigationStartedCallback? onNavigationStarted, OnNavigationStoppedCallback? onNavigationStopped, OnStateChangedCallback? onStateChanged, OnMapClickCallBack? onMapClick, OnVPSBadConnectionCallback? onVPSBadConnection, OnVPSNoConnectionCallback? onVPSNoConnection, OnNavigationFailedCallback? onNavigationFailed, OnNavigationInfoChangedCallback? onNavigationInfoChanged, OnArrivedAtDestinationCallback? onArrivedAtDestination, OnItineraryAddedCallback? onItineraryAdded, OnItineraryRemovedCallback? onItineraryRemoved, OnItineraryFailedCallback? onItineraryFailed, OnCameraTrackingChangedCallback? onCameraTrackingChanged, OnScanReasonChangedCallback? onScanReasonChanged, OnARViewVisibilityChangedCallback? onARViewVisibilityChanged})

Properties

arrivedToDestinationDialog bool
inform the user about the arrival to destination
final
augmentedRealityButtonEnabled bool
Show augmented reality button for this map.
final
detailedViewEnabled bool
show the detailed view for this map.
final
fallbackLocale Locale?
The fallback locale in case something went wrong with the chosen locale
final
filtersTabEnabled bool
show all available filters for this map.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
levelsTabEnabled bool
show the levels tab for the focused building.
final
locale Locale?
Choose the locale to define the widget's language
final
mapDataLoadFailed Widget?
This widget will be displayed when map data loading is failed
final
suggest to the user start navigation through the current itinerary
final
onActiveLevelChanged OnActiveLevelChangedCallback?
final
onArrivedAtDestination OnArrivedAtDestinationCallback?
final
onARViewVisibilityChanged OnARViewVisibilityChangedCallback?
This event is triggered each time the AR View visibility changed
final
onBuildingFocusChanged OnBuildingFocusChangedCallback?
final
onCameraTrackingChanged OnCameraTrackingChangedCallback?
onCameraTrackingChanged event
final
onItineraryAdded OnItineraryAddedCallback?
final
onItineraryFailed OnItineraryFailedCallback?
final
onItineraryRemoved OnItineraryRemovedCallback?
final
onMapClick OnMapClickCallBack?
final
onMapReady OnMapReadyCallback?
final
onNavigationFailed OnNavigationFailedCallback?
final
onNavigationInfoChanged OnNavigationInfoChangedCallback?
final
onNavigationStarted OnNavigationStartedCallback?
final
onNavigationStopped OnNavigationStoppedCallback?
final
onPointOfInterestSelected OnPointOfInterestSelectedCallback?
final
onPointOfInterestUnselected OnPointOfInterestUnselectedCallback?
final
onScanReasonChanged OnScanReasonChangedCallback?
final
onStartedVpsProcess OnStartedVpsProcessCallback?
final
onStateChanged OnStateChangedCallback?
final
onStoppingVpsProcess OnStoppingVpsProcessCallback?
final
onVPSBadConnection OnVPSBadConnectionCallback?
final
onVPSNoConnection OnVPSNoConnectionCallback?
final
options MapOptions
final
progressIndicator Widget?
This widget will be displayed while map is loading
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchBarEnabled bool
show the search bar for this map.
final
userLocationButtonEnabled bool
show the User Location button for this map.
final
vpsBadConnectionDialog bool
inform the user about the bad connection while using VPS scan.
final
vpsInProcessScreen bool
the widget effect on top of camera while VPS scanning.
final
vpsNoConnectionDialog bool
inform the user about the lack of internet connection while using VPS scan.
final
vpsTimedOutDialog bool
inform the user about the timeout VPS scanning.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

poisList List<PointOfInterest>
getter/setter pair