OsmWebWidget constructor
OsmWebWidget({
- Key? key,
- required BaseMapController controller,
- UserTrackingOption? userTrackingOption,
- OnGeoPointClicked? onGeoPointClicked,
- OnLocationChanged? onLocationChanged,
- required ValueNotifier<
bool> mapIsReadyListener, - Widget? mapIsLoading,
- required List<
GlobalKey< globalKeys,State< >StatefulWidget> > - Map<
String, GlobalKey< staticIconGlobalKeys = const {},State< >StatefulWidget> > - MarkerOption? markerOption,
- RoadOption? roadConfiguration,
- bool showDefaultInfoWindow = false,
- bool isPicker = false,
- required ValueNotifier<
Widget?> dynamicMarkerWidgetNotifier, - List<
StaticPositionGeoPoint> staticPoints = const [], - double stepZoom = 1.0,
- double initZoom = 2,
- double minZoomLevel = 2,
- double maxZoomLevel = 18,
- dynamic onMapIsReady()?,
- UserLocationMaker? userLocationMarker,
Implementation
OsmWebWidget({
Key? key,
required this.controller,
this.userTrackingOption,
this.onGeoPointClicked,
this.onLocationChanged,
required this.mapIsReadyListener,
this.mapIsLoading,
required this.globalKeys,
this.staticIconGlobalKeys = const {},
this.markerOption,
this.roadConfiguration,
this.showDefaultInfoWindow = false,
this.isPicker = false,
required this.dynamicMarkerWidgetNotifier,
this.staticPoints = const [],
this.stepZoom = 1.0,
this.initZoom = 2,
this.minZoomLevel = 2,
this.maxZoomLevel = 18,
this.onMapIsReady,
this.userLocationMarker,
}) : super(key: key);