AppleMap constructor

const AppleMap({
  1. Key? key,
  2. required CameraPosition initialCameraPosition,
  3. required MapCreatedCallback onMapCreated,
  4. bool compassEnabled = true,
  5. bool trafficEnabled = false,
  6. MapType mapType = MapType.standard,
  7. MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  8. TrackingMode trackingMode = TrackingMode.none,
  9. bool rotateGesturesEnabled = true,
  10. bool scrollGesturesEnabled = true,
  11. bool zoomGesturesEnabled = true,
  12. bool pitchGesturesEnabled = true,
  13. bool myLocationEnabled = false,
  14. bool myLocationButtonEnabled = false,
  15. EdgeInsets padding = EdgeInsets.zero,
  16. VoidCallback? onCameraMoveStarted,
  17. dynamic onCameraIdle(
    1. LatLngBounds
    )?,
  18. dynamic onMarkerSelected(
    1. String
    )?,
})

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);