CustomMap constructor

const CustomMap({
  1. Key? key,
  2. void onTap(
    1. LatLng,
    2. double (
      1. LatLng
      )
    )?,
  3. CustomMapController? controller,
  4. List<Widget> layers = const [],
  5. List<MapButton> buttons = const [],
  6. bool drawZoomButtons = true,
  7. bool hasFloatingButton = false,
  8. bool drawStandardButtons = true,
  9. bool drawPinMarker = true,
  10. bool faintWalkPath = true,
  11. bool interactive = true,
  12. bool track = true,
  13. bool onlyOSM = false,
  14. bool allowRotation = true,
  15. bool switchToNavigate = true,
  16. bool updateState = false,
})

Implementation

const CustomMap({
  super.key,
  this.onTap,
  this.controller,
  this.layers = const [],
  this.buttons = const [],
  this.drawZoomButtons = true,
  this.hasFloatingButton = false,
  this.drawStandardButtons = true,
  this.drawPinMarker = true,
  this.faintWalkPath = true,
  this.interactive = true,
  this.track = true,
  this.onlyOSM = false,
  this.allowRotation = true,
  this.switchToNavigate = true,
  this.updateState = false,
});