MapLibreView constructor

const MapLibreView({
  1. Key? key,
  2. required Place initialLocation,
  3. required dynamic onMapMoved(
    1. LatLng latLng,
    2. double zoom,
    3. LatLngBounds bounds,
    4. MapMoveEventType eventType,
    )?,
  4. required bool interactive,
  5. required List<CircleMarker> circleMarkers,
  6. required List<PolyLineLayer> polylines,
  7. required List<CustomMarker> markers,
  8. required dynamic options,
  9. required double initialZoom,
  10. required EdgeInsets padding,
  11. required EdgeInsets buttonsPadding,
  12. required List<HeatmapConfig> heatmapConfig,
  13. required bool showMyLocation,
  14. required dynamic onControllerReady(
    1. MapViewController
    )?,
})

Implementation

const MapLibreView({
  super.key,
  required this.initialLocation,
  required this.onMapMoved,
  required this.interactive,
  required this.circleMarkers,
  required this.polylines,
  required this.markers,
  required this.options,
  required this.initialZoom,
  required this.padding,
  required this.buttonsPadding,
  required this.heatmapConfig,
  required this.showMyLocation,
  required this.onControllerReady,
});