AppleMap constructor
const
AppleMap({
- Key? key,
- required CameraPosition initialCameraPosition,
- MapCreatedCallback? onMapCreated,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> > - 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,
- Set<
Annotation> ? annotations, - Set<
Polyline> ? polylines, - Set<
Circle> ? circles, - Set<
Polygon> ? polygons, - VoidCallback? onCameraMoveStarted,
- CameraPositionCallback? onCameraMove,
- VoidCallback? onCameraIdle,
- ArgumentCallback<
LatLng> ? onTap, - ArgumentCallback<
LatLng> ? onLongPress, - SnapshotOptions? snapshotOptions,
- bool insetsLayoutMarginsFromSafeArea = true,
Implementation
const AppleMap({
Key? key,
required this.initialCameraPosition,
this.onMapCreated,
this.gestureRecognizers,
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.annotations,
this.polylines,
this.circles,
this.polygons,
this.onCameraMoveStarted,
this.onCameraMove,
this.onCameraIdle,
this.onTap,
this.onLongPress,
this.snapshotOptions,
this.insetsLayoutMarginsFromSafeArea = true,
}) : super(key: key);