GoogleMapWithFMTO constructor
GoogleMapWithFMTO({
- required FMTOOptions fmtoOptions,
- required CameraPosition initialCameraPosition,
- Key? key,
- List<
FloatingMarkerTitleInfo> ? floatingTitles, - Stream<
List< ? floatingTitlesStream,FloatingMarkerTitleInfo> > - MapCreatedCallback? onMapCreated,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> > - bool compassEnabled = true,
- bool mapToolbarEnabled = true,
- CameraTargetBounds cameraTargetBounds = CameraTargetBounds.unbounded,
- MapType mapType = MapType.normal,
- MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
- bool rotateGesturesEnabled = true,
- bool scrollGesturesEnabled = true,
- bool zoomControlsEnabled = true,
- bool zoomGesturesEnabled = true,
- bool liteModeEnabled = false,
- bool tiltGesturesEnabled = true,
- EdgeInsets padding = const EdgeInsets.all(0),
- Set<
Marker> ? markers, - Set<
Polygon> ? polygons, - Set<
Polyline> ? polylines, - Set<
Circle> ? circles, - VoidCallback? onCameraMoveStarted,
- CameraPositionCallback? onCameraMove,
- VoidCallback? onCameraIdle,
- ArgumentCallback<
LatLng> ? onTap, - ArgumentCallback<
LatLng> ? onLongPress, - bool? myLocationEnabled,
- bool? myLocationButtonEnabled,
- bool? indoorViewEnabled,
- bool? trafficEnabled,
- bool? buildingsEnabled,
Implementation
factory GoogleMapWithFMTO({
required final FMTOOptions fmtoOptions,
required final CameraPosition initialCameraPosition,
final Key? key,
final List<FloatingMarkerTitleInfo>? floatingTitles,
final Stream<List<FloatingMarkerTitleInfo>>? floatingTitlesStream,
final MapCreatedCallback? onMapCreated,
final Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
final bool compassEnabled = true,
final bool mapToolbarEnabled = true,
final CameraTargetBounds cameraTargetBounds = CameraTargetBounds.unbounded,
final MapType mapType = MapType.normal,
final MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
final bool rotateGesturesEnabled = true,
final bool scrollGesturesEnabled = true,
final bool zoomControlsEnabled = true,
final bool zoomGesturesEnabled = true,
final bool liteModeEnabled = false,
final bool tiltGesturesEnabled = true,
final EdgeInsets padding = const EdgeInsets.all(0),
final Set<Marker>? markers,
final Set<Polygon>? polygons,
final Set<Polyline>? polylines,
final Set<Circle>? circles,
final VoidCallback? onCameraMoveStarted,
final CameraPositionCallback? onCameraMove,
final VoidCallback? onCameraIdle,
final ArgumentCallback<LatLng>? onTap,
final ArgumentCallback<LatLng>? onLongPress,
final bool? myLocationEnabled,
final bool? myLocationButtonEnabled,
final bool? indoorViewEnabled,
final bool? trafficEnabled,
final bool? buildingsEnabled,
}) {
return GoogleMapWithFMTO._internal(
_GoogleMapMVI(fmtoOptions.mapProjectionsCacheSize),
fmtoOptions,
key,
initialCameraPosition,
onMapCreated,
gestureRecognizers,
compassEnabled,
mapToolbarEnabled,
cameraTargetBounds,
mapType,
minMaxZoomPreference,
rotateGesturesEnabled,
scrollGesturesEnabled,
zoomControlsEnabled,
zoomGesturesEnabled,
liteModeEnabled,
tiltGesturesEnabled,
padding,
markers,
polygons,
polylines,
circles,
onCameraMoveStarted,
onCameraMove,
onCameraIdle,
onTap,
onLongPress,
myLocationEnabled,
myLocationButtonEnabled,
indoorViewEnabled,
trafficEnabled,
buildingsEnabled,
floatingTitles: floatingTitles,
floatingTitlesStream: floatingTitlesStream,
);
}