MapBoxView constructor

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

Implementation

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