OsmWebWidget constructor
const
OsmWebWidget({
- Key? key,
- required BaseMapController controller,
- UserTrackingOption? userTrackingOption,
- OnGeoPointClicked? onGeoPointClicked,
- OnLocationChanged? onLocationChanged,
- OnMapMoved? onMapMoved,
- required ValueNotifier<
bool> mapIsReadyListener, - Widget? mapIsLoading,
- required List<
GlobalKey< globalKeys,State< >StatefulWidget> > - Map<
String, GlobalKey< staticIconGlobalKeys = const {},State< >StatefulWidget> > - 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,
- bool isStatic = false,
Implementation
const OsmWebWidget({
super.key,
required this.controller,
this.userTrackingOption,
this.onGeoPointClicked,
this.onLocationChanged,
this.onMapMoved,
required this.mapIsReadyListener,
this.mapIsLoading,
required this.globalKeys,
this.staticIconGlobalKeys = const {},
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,
this.isStatic = false,
});