OpenMapSettings constructor
const
OpenMapSettings({
- Key? key,
- required Widget child,
- GetCurrentLocationCallBack? getCurrentLocation,
- OpenMapOptions? defaultOptions,
- GetLocationStreamCallBack? getLocationStream,
- void onError(
- BuildContext context,
- dynamic error
- LocationMarkerCallback? locationMarker,
- CurrentLocationMarkerCallback? currentLocationMarker,
- TileLayer tileLayer(
- TileLayer defaultLayer
- String searchHint(
- BuildContext context
- MyLocationButtonCallBack? myLocationButton,
- SearchFilters? searchFilters,
- ReverseZoom? reverseZoom,
- MapViewConfig? mapViewConfig,
Implementation
const OpenMapSettings({
Key? key,
required Widget child,
this.getCurrentLocation,
this.defaultOptions,
this.getLocationStream,
this.onError,
this.locationMarker,
this.currentLocationMarker,
this.tileLayer,
this.searchHint,
this.myLocationButton,
this.searchFilters,
this.reverseZoom,
this.mapViewConfig,
}) : super(key: key, child: child);