CustomMap constructor
const
CustomMap({
- Key? key,
- void onTap(
- LatLng,
- double (
- LatLng
- CustomMapController? controller,
- List<
Widget> layers = const [], - List<
MapButton> buttons = const [], - bool drawZoomButtons = true,
- bool hasFloatingButton = false,
- bool drawStandardButtons = true,
- bool drawPinMarker = true,
- bool faintWalkPath = true,
- bool interactive = true,
- bool track = true,
- bool onlyOSM = false,
- bool allowRotation = true,
- 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,
});