OpenMapSettings constructor

const OpenMapSettings({
  1. Key? key,
  2. required Widget child,
  3. GetCurrentLocationCallBack? getCurrentLocation,
  4. OpenMapOptions? defaultOptions,
  5. GetLocationStreamCallBack? getLocationStream,
  6. void onError(
    1. BuildContext context,
    2. dynamic error
    )?,
  7. LocationMarkerCallback? locationMarker,
  8. CurrentLocationMarkerCallback? currentLocationMarker,
  9. TileLayer tileLayer(
    1. TileLayer defaultLayer
    )?,
  10. String searchHint(
    1. BuildContext context
    )?,
  11. MyLocationButtonCallBack? myLocationButton,
  12. SearchFilters? searchFilters,
  13. ReverseZoom? reverseZoom,
  14. 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);