MPSelectionBehavior class

Sets a behavior for the map when calling MapsIndoorsWidget.selectLocation

Has a DEFAULT behavior

Inheritance

Properties

allowFloorChange bool
Whether the selection is allowed to change the floor if no results are visible on the current floor
final
animationDuration int
How long the camera movement should be animated for, set to 0 disables animation
final
hashCode int
The hash code for this object.
no setterinherited
moveCamera bool
Whether the selection should move the camera to encompass the results
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showInfoWindow bool
Whether to open the info window if a single result is returned
final
zoomToFit bool
Whether the selection is allowed to zoom in/out the camera
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the MPSelectionBehavior to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

builder() MPSelectionBehaviorBuilder
Get a builder object

Constants

DEFAULT → const MPSelectionBehavior
The default behavior for selection: