MapConfiguration constructor

const MapConfiguration({
  1. bool? compassEnabled,
  2. bool? mapToolbarEnabled,
  3. CameraTargetBounds? cameraTargetBounds,
  4. MapType? mapType,
  5. MinMaxZoomPreference? minMaxZoomPreference,
  6. bool? rotateGesturesEnabled,
  7. bool? scrollGesturesEnabled,
  8. bool? tiltGesturesEnabled,
  9. bool? fortyFiveDegreeImageryEnabled,
  10. bool? trackCameraPosition,
  11. bool? zoomControlsEnabled,
  12. bool? zoomGesturesEnabled,
  13. bool? liteModeEnabled,
  14. bool? myLocationEnabled,
  15. bool? myLocationButtonEnabled,
  16. EdgeInsets? padding,
  17. bool? indoorViewEnabled,
  18. bool? trafficEnabled,
  19. bool? buildingsEnabled,
  20. String? cloudMapId,
  21. String? style,
})

Creates a new configuration instance with the given options.

Any options that aren't passed will be null, which allows this to serve as either a full configuration selection, or an update to an existing configuration where only non-null values are updated.

Implementation

const MapConfiguration({
  this.compassEnabled,
  this.mapToolbarEnabled,
  this.cameraTargetBounds,
  this.mapType,
  this.minMaxZoomPreference,
  this.rotateGesturesEnabled,
  this.scrollGesturesEnabled,
  this.tiltGesturesEnabled,
  this.fortyFiveDegreeImageryEnabled,
  this.trackCameraPosition,
  this.zoomControlsEnabled,
  this.zoomGesturesEnabled,
  this.liteModeEnabled,
  this.myLocationEnabled,
  this.myLocationButtonEnabled,
  this.padding,
  this.indoorViewEnabled,
  this.trafficEnabled,
  this.buildingsEnabled,
  this.cloudMapId,
  this.style,
});