MapConfiguration constructor

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