OlaMapView constructor
const
OlaMapView({
- Key? key,
- required String apiKey,
- void onMapCreated(
- int id
- void onControllerReady(
- OlaMapController controller
- bool showZoomControls = true,
- bool showCompass = true,
- bool showMyLocationButton = true,
- bool myLocationEnabled = true,
- bool zoomGesturesEnabled = true,
- bool scrollGesturesEnabled = true,
- bool tiltGesturesEnabled = true,
- bool rotateGesturesEnabled = true,
- bool doubleTapGesturesEnabled = true,
Implementation
const OlaMapView({
super.key,
required this.apiKey,
this.onMapCreated,
this.onControllerReady,
this.showZoomControls = true,
this.showCompass = true,
this.showMyLocationButton = true,
this.myLocationEnabled = true,
this.zoomGesturesEnabled = true,
this.scrollGesturesEnabled = true,
this.tiltGesturesEnabled = true,
this.rotateGesturesEnabled = true,
this.doubleTapGesturesEnabled = true,
});