VoyagerMapConfig constructor

VoyagerMapConfig({
  1. Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
  2. bool compassEnabled = true,
  3. bool mapToolbarEnabled = false,
  4. CameraTargetBounds cameraTargetBounds = CameraTargetBounds.unbounded,
  5. MapType mapType = MapType.normal,
  6. MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  7. bool rotateGesturesEnabled = true,
  8. bool scrollGesturesEnabled = true,
  9. bool zoomControlsEnabled = false,
  10. bool zoomGesturesEnabled = true,
  11. bool liteModeEnabled = false,
  12. bool tiltGesturesEnabled = false,
  13. bool myLocationEnabled = false,
  14. bool myLocationButtonEnabled = false,
  15. EdgeInsets padding = const EdgeInsets.all(0),
  16. bool indoorViewEnabled = false,
  17. bool trafficEnabled = false,
  18. bool buildingsEnabled = false,
  19. Set<Marker> markers = const <Marker>{},
  20. Set<Polygon> polygons = const <Polygon>{},
  21. Set<Polyline> polylines = const <Polyline>{},
  22. Set<Circle> circles = const <Circle>{},
  23. VoidCallback? onCameraMoveStarted,
  24. Set<TileOverlay> tileOverlays = const <TileOverlay>{},
  25. CameraPositionCallback? onCameraMove,
  26. VoidCallback? onCameraIdle,
})

Implementation

VoyagerMapConfig({
  this.gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
  this.compassEnabled = true,
  this.mapToolbarEnabled = false,
  this.cameraTargetBounds = CameraTargetBounds.unbounded,
  this.mapType = MapType.normal,
  this.minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  this.rotateGesturesEnabled = true,
  this.scrollGesturesEnabled = true,
  this.zoomControlsEnabled = false,
  this.zoomGesturesEnabled = true,
  this.liteModeEnabled = false,
  this.tiltGesturesEnabled = false,
  this.myLocationEnabled = false,
  this.myLocationButtonEnabled = false,
  this.padding = const EdgeInsets.all(0),
  this.indoorViewEnabled = false,
  this.trafficEnabled = false,
  this.buildingsEnabled = false,
  this.markers = const <Marker>{},
  this.polygons = const <Polygon>{},
  this.polylines = const <Polyline>{},
  this.circles = const <Circle>{},
  this.onCameraMoveStarted,
  this.tileOverlays = const <TileOverlay>{},
  this.onCameraMove,
  this.onCameraIdle,
});