MobileMapPreferences class

Set of mobile map preferences

Constructors

MobileMapPreferences({bool rotateGesturesEnabled = true, bool scrollGesturesEnabled = true, bool zoomGesturesEnabled = true, bool tiltGesturesEnabled = true, bool compassEnabled = true, bool mapToolbarEnabled = true, bool myLocationEnabled = false, bool myLocationButtonEnabled = true, bool zoomControlsEnabled = true, bool indoorViewEnabled = false, bool trafficEnabled = false, bool buildingsEnabled = true, EdgeInsets padding = const EdgeInsets.all(0)})
Creates an instance of MobileMapPreferences.
const

Properties

buildingsEnabled bool
Enables or disables showing 3D buildings where available.
final
compassEnabled bool
True if the map should show a compass when rotated.
final
hashCode int
The hash code for this object.
no setterinherited
indoorViewEnabled bool
Enables or disables the indoor view from the map.
final
mapToolbarEnabled bool
True if the map should show a toolbar when you interact with the map. Android only.
final
myLocationButtonEnabled bool
Enables or disables the my-location button.
final
myLocationEnabled bool
True if a "My Location" layer should be shown on the map.
final
padding EdgeInsets
Padding to be set on map. See https://developers.google.com/maps/documentation/android-sdk/map#map_padding for more details.
final
rotateGesturesEnabled bool
True if the map view should respond to rotate gestures.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollGesturesEnabled bool
True if the map view should respond to scroll gestures.
final
tiltGesturesEnabled bool
True if the map view should respond to tilt gestures.
final
trafficEnabled bool
Enables or disables the traffic layer of the map.
final
zoomControlsEnabled bool
Enables or disables the zoom in / zoom out (+/-) buttons. By default, they are enabled.
final
zoomGesturesEnabled bool
True if the map view should respond to zoom gestures.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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