MobileMapPreferences constructor

const MobileMapPreferences({
  1. bool rotateGesturesEnabled = true,
  2. bool scrollGesturesEnabled = true,
  3. bool zoomGesturesEnabled = true,
  4. bool tiltGesturesEnabled = true,
  5. bool compassEnabled = true,
  6. bool mapToolbarEnabled = true,
  7. bool myLocationEnabled = false,
  8. bool myLocationButtonEnabled = true,
  9. bool zoomControlsEnabled = true,
  10. bool indoorViewEnabled = false,
  11. bool trafficEnabled = false,
  12. bool buildingsEnabled = true,
  13. 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),
});