MFMapView constructor

const MFMapView({
  1. Key? key,
  2. MFCameraPosition? initialCameraPosition,
  3. MapCreatedCallback? onMapCreated,
  4. MFMinMaxZoom minMaxZoomPreference = MFMinMaxZoom.unbounded,
  5. bool rotateGesturesEnabled = true,
  6. bool scrollGesturesEnabled = true,
  7. bool zoomGesturesEnabled = true,
  8. bool tiltGesturesEnabled = true,
  9. bool myLocationEnabled = false,
  10. bool myLocationButtonEnabled = false,
  11. bool poisEnabled = true,
  12. bool buildingsEnabled = true,
  13. VoidCallback? onCameraMoveStarted,
  14. MFCameraPositionCallback? onCameraMove,
  15. VoidCallback? onCameraIdle,
  16. MFLatLngCallback? onTap,
  17. MFModeChangedCallback? onModeChange,
  18. MFMapPOICallback? onPOITap,
  19. MFMapBuildingCallback? onBuildingTap,
})

Implementation

const MFMapView({
  Key? key,
  this.initialCameraPosition,
  this.onMapCreated,
  this.minMaxZoomPreference = MFMinMaxZoom.unbounded,
  this.rotateGesturesEnabled = true,
  this.scrollGesturesEnabled = true,
  this.zoomGesturesEnabled = true,
  this.tiltGesturesEnabled = true,
  this.myLocationEnabled = false,
  this.myLocationButtonEnabled = false,
  this.poisEnabled = true,
  this.buildingsEnabled = true,
  this.onCameraMoveStarted,
  this.onCameraMove,
  this.onCameraIdle,
  this.onTap,
  this.onModeChange,
  this.onPOITap,
  this.onBuildingTap,
}) : super(key: key);