KinMap constructor
const
KinMap({
- Key? key,
- KinMapController? controller,
- KinLatLng initialCenter = const KinLatLng(37.7749, -122.4194),
- double initialZoom = 4,
- List<
KinMapMarker> markers = const [], - List<
KinMapPolyline> polylines = const [], - bool showZoomControls = true,
- bool showGrid = true,
- bool interactive = true,
- double? height = 280,
- BorderRadius? borderRadius,
- ValueChanged<
KinLatLng> ? onTap,
Implementation
const KinMap({
super.key,
this.controller,
this.initialCenter = const KinLatLng(37.7749, -122.4194),
this.initialZoom = 4,
this.markers = const [],
this.polylines = const [],
this.showZoomControls = true,
this.showGrid = true,
this.interactive = true,
this.height = 280,
this.borderRadius,
this.onTap,
});