FlutterMapImpl constructor

const FlutterMapImpl({
  1. Key? key,
  2. required GeoPoint center,
  3. required double zoom,
  4. required List<GeoGeofenceBase> geofences,
  5. List<GeoMarkerWidget> markers = const [],
  6. OnGeofenceTap? onGeofenceTap,
  7. OnMarkerTap? onMarkerTap,
  8. OnMapTap? onMapTap,
  9. OnMapLongPress? onMapLongPress,
  10. bool showZoomControls = true,
  11. bool showCompass = true,
  12. bool showMyLocationButton = true,
  13. double minZoom = 2.0,
  14. double maxZoom = 18.0,
  15. double rotation = 0.0,
  16. bool enableRotation = true,
  17. bool enableZoom = true,
})

Implementation

const FlutterMapImpl({
  super.key,
  required this.center,
  required this.zoom,
  required this.geofences,
  this.markers = const [],
  this.onGeofenceTap,
  this.onMarkerTap,
  this.onMapTap,
  this.onMapLongPress,
  this.showZoomControls = true,
  this.showCompass = true,
  this.showMyLocationButton = true,
  this.minZoom = 2.0,
  this.maxZoom = 18.0,
  this.rotation = 0.0,
  this.enableRotation = true,
  this.enableZoom = true,
});