MobileMapPreferences constructor
const
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.
Implementation
const MobileMapPreferences({
this.rotateGesturesEnabled = true,
this.scrollGesturesEnabled = true,
this.zoomGesturesEnabled = true,
this.tiltGesturesEnabled = true,
this.compassEnabled = true,
this.mapToolbarEnabled = true,
this.myLocationEnabled = false,
this.myLocationButtonEnabled = true,
this.zoomControlsEnabled = true,
this.indoorViewEnabled = false,
this.trafficEnabled = false,
this.buildingsEnabled = true,
this.padding = const EdgeInsets.all(0),
});