OlaMapView constructor

const OlaMapView({
  1. Key? key,
  2. required String apiKey,
  3. void onMapCreated(
    1. int id
    )?,
  4. void onControllerReady(
    1. OlaMapController controller
    )?,
  5. bool showZoomControls = true,
  6. bool showCompass = true,
  7. bool showMyLocationButton = true,
  8. bool myLocationEnabled = true,
  9. bool zoomGesturesEnabled = true,
  10. bool scrollGesturesEnabled = true,
  11. bool tiltGesturesEnabled = true,
  12. bool rotateGesturesEnabled = true,
  13. 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,
});