AppleMap constructor
const
AppleMap({
- Key? key,
- required CameraPosition initialCameraPosition,
- required MapCreatedCallback onMapCreated,
- bool compassEnabled = true,
- bool trafficEnabled = false,
- MapType mapType = MapType.standard,
- MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
- TrackingMode trackingMode = TrackingMode.none,
- bool rotateGesturesEnabled = true,
- bool scrollGesturesEnabled = true,
- bool zoomGesturesEnabled = true,
- bool pitchGesturesEnabled = true,
- bool myLocationEnabled = false,
- bool myLocationButtonEnabled = false,
- EdgeInsets padding = EdgeInsets.zero,
- VoidCallback? onCameraMoveStarted,
- dynamic onCameraIdle()?,
- dynamic onMarkerSelected()?,
Implementation
const AppleMap({
Key? key,
required this.initialCameraPosition,
required this.onMapCreated,
this.compassEnabled = true,
this.trafficEnabled = false,
this.mapType = MapType.standard,
this.minMaxZoomPreference = MinMaxZoomPreference.unbounded,
this.trackingMode = TrackingMode.none,
this.rotateGesturesEnabled = true,
this.scrollGesturesEnabled = true,
this.zoomGesturesEnabled = true,
this.pitchGesturesEnabled = true,
this.myLocationEnabled = false,
this.myLocationButtonEnabled = false,
this.padding = EdgeInsets.zero,
this.onCameraMoveStarted,
this.onCameraIdle,
this.onMarkerSelected,
}) : super(key: key);