KinMap constructor

const KinMap({
  1. Key? key,
  2. KinMapController? controller,
  3. KinLatLng initialCenter = const KinLatLng(37.7749, -122.4194),
  4. double initialZoom = 4,
  5. List<KinMapMarker> markers = const [],
  6. List<KinMapPolyline> polylines = const [],
  7. bool showZoomControls = true,
  8. bool showGrid = true,
  9. bool interactive = true,
  10. double? height = 280,
  11. BorderRadius? borderRadius,
  12. 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,
});