MFMapView constructor
const
MFMapView({
- Key? key,
- MFCameraPosition? initialCameraPosition,
- MapCreatedCallback? onMapCreated,
- MFMinMaxZoom minMaxZoomPreference = MFMinMaxZoom.unbounded,
- bool rotateGesturesEnabled = true,
- bool scrollGesturesEnabled = true,
- bool zoomGesturesEnabled = true,
- bool tiltGesturesEnabled = true,
- bool myLocationEnabled = false,
- bool myLocationButtonEnabled = false,
- bool poisEnabled = true,
- bool buildingsEnabled = true,
- VoidCallback? onCameraMoveStarted,
- MFCameraPositionCallback? onCameraMove,
- VoidCallback? onCameraIdle,
- MFLatLngCallback? onTap,
- MFModeChangedCallback? onModeChange,
- MFMapPOICallback? onPOITap,
- 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);