WemapMap class

The Livemap 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, bool levelsTabEnabled = true, bool filtersTabEnabled = true, bool searchBarEnabled = true, bool detailedViewEnabled = true, bool userLocationButtonEnabled = true, bool vpsBadConnectionDialog = true, bool vpsNoConnectionDialog = true, bool vpsTimedOutDialog = true, bool vpsInProcessScreen = 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, OnItineraryFailedCallback? onItineraryFailed, OnCameraTrackingChangedCallback? onCameraTrackingChanged})
const

Properties

detailedViewEnabled bool
show the detailed view for this map.
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
onActiveLevelChanged OnActiveLevelChangedCallback?
final
onArrivedAtDestination OnArrivedAtDestinationCallback?
final
onBuildingFocusChanged OnBuildingFocusChangedCallback?
final
onCameraTrackingChanged OnCameraTrackingChangedCallback?
onCameraTrackingChanged event
final
onItineraryAdded OnItineraryAddedCallback?
final
onItineraryFailed OnItineraryFailedCallback?
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
onStartedVpsProcess OnStartedVpsProcessCallback?
final
onStateChanged OnStateChangedCallback?
final
onStoppingVpsProcess OnStoppingVpsProcessCallback?
final
onVPSBadConnection OnVPSBadConnectionCallback?
final
onVPSNoConnection OnVPSNoConnectionCallback?
final
options MapOptions
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}) 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