EnhancedLocationMapPicker constructor
const
EnhancedLocationMapPicker({
- Key? key,
- required MapProvider mapProvider,
- String? apiKey,
- required List<
LocationData> initialLocations, - required double initialZoom,
- required ValueChanged<
LocationData> onLocationSelected, - required double mapHeight,
- bool enableSearch = true,
- Color? markerColor,
- required bool enableMultiSelection,
- required bool enableZoomControls,
- required bool enableMapTypeSelector,
- LocationBounds? allowedBounds,
Implementation
const EnhancedLocationMapPicker({
Key? key,
required this.mapProvider,
this.apiKey,
required this.initialLocations,
required this.initialZoom,
required this.onLocationSelected,
required this.mapHeight,
this.enableSearch = true,
this.markerColor,
required this.enableMultiSelection,
required this.enableZoomControls,
required this.enableMapTypeSelector,
this.allowedBounds,
}) : super(key: key);