FlutterMapImpl constructor
const
FlutterMapImpl({
- Key? key,
- required GeoPoint center,
- required double zoom,
- required List<
GeoGeofenceBase> geofences, - List<
GeoMarkerWidget> markers = const [], - OnGeofenceTap? onGeofenceTap,
- OnMarkerTap? onMarkerTap,
- OnMapTap? onMapTap,
- OnMapLongPress? onMapLongPress,
- bool showZoomControls = true,
- bool showCompass = true,
- bool showMyLocationButton = true,
- double minZoom = 2.0,
- double maxZoom = 18.0,
- double rotation = 0.0,
- bool enableRotation = true,
- 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,
});