MapConfiguration constructor
const
MapConfiguration({
- WebGestureHandling? webGestureHandling,
- bool? compassEnabled,
- bool? mapToolbarEnabled,
- CameraTargetBounds? cameraTargetBounds,
- MapType? mapType,
- MinMaxZoomPreference? minMaxZoomPreference,
- bool? rotateGesturesEnabled,
- bool? scrollGesturesEnabled,
- bool? tiltGesturesEnabled,
- bool? fortyFiveDegreeImageryEnabled,
- bool? trackCameraPosition,
- bool? zoomControlsEnabled,
- bool? zoomGesturesEnabled,
- bool? liteModeEnabled,
- bool? myLocationEnabled,
- bool? myLocationButtonEnabled,
- EdgeInsets? padding,
- bool? indoorViewEnabled,
- bool? trafficEnabled,
- bool? buildingsEnabled,
- String? cloudMapId,
- 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,
});