WoosmapMapViewWidget class
WoosmapMapViewWidget is UI represent Indoor map and its interaction
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- WoosmapMapViewWidget
Constructors
-
WoosmapMapViewWidget({Key? key, required dynamic onRef(WoosmapController), required String wooskey, Map<
String, dynamic> ? mapOptions, bool? widget, Map<String, dynamic> ? indoorRendererConfiguration, Map<String, dynamic> ? indoorWidgetConfiguration, dynamic indoor_level_changed(num)?, dynamic indoor_feature_selected(dynamic)?, dynamic indoor_venue_loaded(dynamic)?, dynamic indoor_user_location(dynamic)?, dynamic indoor_directions(dynamic)?, bool? activate_indoor_product, dynamic bounds_changed()?, dynamic center_changed()?, dynamic click(dynamic)?, dynamic dblclick(dynamic)?, dynamic drag()?, dynamic dragend()?, dynamic dragstart()?, dynamic idle()?, dynamic mousemove(dynamic)?, dynamic mouseout(dynamic)?, dynamic mouseover(dynamic)?, dynamic rightclick(dynamic)?, dynamic zoom_changed()?, dynamic store_unselected()?, dynamic store_selected(dynamic)?, dynamic routeIndex_changed(dynamic)?, dynamic indoor_highlight_step(dynamic)?, }) - Default constructor which creates a new object by passing mapOptions parameter as JSON. This constructor is deprecated. Please use WoosmapMapViewWidget.create constructor instead.
- WoosmapMapViewWidget.create({Key? key, required dynamic onRef(WoosmapController), required String wooskey, MapOptions? mapOptions, bool? widget, IndoorRendererOptions? indoorRendererConfiguration, IndoorWidgetOptions? indoorWidgetConfiguration, dynamic indoor_level_changed(num)?, dynamic indoor_feature_selected(dynamic)?, dynamic indoor_venue_loaded(dynamic)?, dynamic indoor_user_location(dynamic)?, dynamic indoor_directions(dynamic)?, bool? activate_indoor_product, dynamic bounds_changed()?, dynamic center_changed()?, dynamic click(dynamic)?, dynamic dblclick(dynamic)?, dynamic drag()?, dynamic dragend()?, dynamic dragstart()?, dynamic idle()?, dynamic mousemove(dynamic)?, dynamic mouseout(dynamic)?, dynamic mouseover(dynamic)?, dynamic rightclick(dynamic)?, dynamic zoom_changed()?, dynamic store_unselected()?, dynamic store_selected(dynamic)?, dynamic routeIndex_changed(dynamic)?, dynamic indoor_highlight_step(dynamic)?, })
- Creates new Object with mapOptions as MapOptions object.
Properties
- activate_indoor_product → bool?
-
Enable Indoor product with widget
final
- bounds_changed → (dynamic Function()?)
-
This event is fired when the viewport bounds have changed.
final
- center_changed → (dynamic Function()?)
-
This event is fired when the map center property changes.
final
- click → (dynamic Function(dynamic)?)
-
This event is fired when the user clicks on the map.
final
- dblclick → (dynamic Function(dynamic)?)
-
This event is fired when the user double-clicks on the map.
final
- drag → (dynamic Function()?)
-
This event is repeatedly fired while the user drags the map.
final
- dragend → (dynamic Function()?)
-
This event is fired when the user stops dragging the map.
final
- dragstart → (dynamic Function()?)
-
This event is fired when the user starts dragging the map.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idle → (dynamic Function()?)
-
This event is fired when the map becomes idle after panning or zooming.
final
- indoor_directions → (dynamic Function(dynamic)?)
-
This event is fired with Indoor direction fetched by widget
final
- indoor_feature_selected → (dynamic Function(dynamic)?)
-
This event is fired when any indoor feature on the map is clicked
final
- indoor_highlight_step → (dynamic Function(dynamic)?)
-
This event is fired when the a step of an indoor route is highlighted/selected.
final
- indoor_level_changed → (dynamic Function(num)?)
-
This event is fired when the indoor level is changed
final
-
This event is fired when the a step of an indoor navigation is exited.
final
-
This event is fired when the a step of an indoor navigation starts.
final
- indoor_user_location → (dynamic Function(dynamic)?)
-
This event is fired when the indoor user location is changed
final
- indoor_venue_loaded → (dynamic Function(dynamic)?)
-
This event is fire when Indoor map is loaded first time
final
- indoorRendererConfiguration ↔ IndoorRendererOptions?
-
You can add a IndoorRendererOptions configuration json in the IndoorRenderer. Find below an example
getter/setter pair
- indoorWidgetConfiguration ↔ IndoorWidgetOptions?
-
You can add a IndoorWidgetOptions configuration json in the IndoorRenderer. Find below an example
getter/setter pair
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mapOptions ↔ MapOptions?
-
MapOptions object used to define the properties that can be set on a Map.
getter/setter pair
- mousemove → (dynamic Function(dynamic)?)
-
This event is fired whenever the user’s mouse moves over the map container.
final
- mouseout → (dynamic Function(dynamic)?)
-
This event is fired when the user’s mouse exits the map container.
final
- mouseover → (dynamic Function(dynamic)?)
-
This event is fired when the user’s mouse enters the map container.
final
- onRef → dynamic Function(WoosmapController)
-
Returns Object use to interacting with Woosmap Indoor
final
- rightclick → (dynamic Function(dynamic)?)
-
This event is fired when the DOM context menu event is fired on the map container.
final
- routeIndex_changed → (dynamic Function(dynamic)?)
-
In case of multiple route it return route index of active route
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store_selected → (dynamic Function(dynamic)?)
-
This event is triggered when a store is selected
final
- store_unselected → (dynamic Function()?)
-
This event is triggered when a store previously selected was unselected.
final
- widget → bool?
-
Widget represent predefine set of UI to minimize development time
final
- wooskey → String
-
Woosmap Map JS API requires authorization via API Key for initialization and API calls. You can obtain it by following this steps.
final
- zoom_changed → (dynamic Function()?)
-
This event is fired when the map zoom property changes.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< WoosmapMapViewWidget> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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