GmhMapOptions constructor

const GmhMapOptions({
  1. required CameraPosition initialCameraPosition,
  2. MapCreatedCallback? onMapCreated,
  3. String? style,
  4. Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
  5. WebGestureHandling? webGestureHandling,
  6. bool compassEnabled = true,
  7. bool mapToolbarEnabled = true,
  8. CameraTargetBounds cameraTargetBounds = CameraTargetBounds.unbounded,
  9. MapType mapType = MapType.normal,
  10. MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  11. bool rotateGesturesEnabled = true,
  12. bool scrollGesturesEnabled = true,
  13. bool zoomControlsEnabled = true,
  14. bool zoomGesturesEnabled = true,
  15. bool liteModeEnabled = false,
  16. bool tiltGesturesEnabled = true,
  17. bool fortyFiveDegreeImageryEnabled = false,
  18. bool myLocationEnabled = false,
  19. bool myLocationButtonEnabled = true,
  20. TextDirection? layoutDirection,
  21. EdgeInsets padding = EdgeInsets.zero,
  22. bool indoorViewEnabled = false,
  23. bool trafficEnabled = false,
  24. bool buildingsEnabled = true,
  25. Set<Marker> markers = const <Marker>{},
  26. Set<Polygon> polygons = const <Polygon>{},
  27. Set<Circle> circles = const <Circle>{},
  28. Set<ClusterManager> clusterManagers = const <ClusterManager>{},
  29. Set<Heatmap> heatmaps = const <Heatmap>{},
  30. VoidCallback? onCameraMoveStarted,
  31. Set<TileOverlay> tileOverlays = const <TileOverlay>{},
  32. CameraPositionCallback? onCameraMove,
  33. VoidCallback? onCameraIdle,
  34. ArgumentCallback<LatLng>? onTap,
  35. ArgumentCallback<LatLng>? onLongPress,
  36. String? cloudMapId,
})

Google map's options

Implementation

const GmhMapOptions({
  required this.initialCameraPosition,
  this.onMapCreated,
  this.style,
  this.gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
  this.webGestureHandling,
  this.compassEnabled = true,
  this.mapToolbarEnabled = true,
  this.cameraTargetBounds = CameraTargetBounds.unbounded,
  this.mapType = MapType.normal,
  this.minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  this.rotateGesturesEnabled = true,
  this.scrollGesturesEnabled = true,
  this.zoomControlsEnabled = true,
  this.zoomGesturesEnabled = true,
  this.liteModeEnabled = false,
  this.tiltGesturesEnabled = true,
  this.fortyFiveDegreeImageryEnabled = false,
  this.myLocationEnabled = false,
  this.myLocationButtonEnabled = true,
  this.layoutDirection,
  this.padding = EdgeInsets.zero,
  this.indoorViewEnabled = false,
  this.trafficEnabled = false,
  this.buildingsEnabled = true,
  this.markers = const <Marker>{},
  this.polygons = const <Polygon>{},
  this.circles = const <Circle>{},
  this.clusterManagers = const <ClusterManager>{},
  this.heatmaps = const <Heatmap>{},
  this.onCameraMoveStarted,
  this.tileOverlays = const <TileOverlay>{},
  this.onCameraMove,
  this.onCameraIdle,
  this.onTap,
  this.onLongPress,
  this.cloudMapId,
});