OwlnextMap constructor

const OwlnextMap({
  1. Key? key,
  2. TileLayer? overrideTile,
  3. required MapTileSwitchController tileController,
  4. List<MapControlBlock>? controlBlocks,
  5. required MapController mapController,
  6. bool? showControls = true,
  7. int? authorizedActions = InteractiveFlag.all,
  8. required MapLocation mapLocation,
  9. CameraConstraint? cameraConstraint,
  10. void handleClickMap(
    1. TapPosition,
    2. LatLng
    )?,
  11. void handleClickLayer(
    1. TapDownDetails details,
    2. Object tappedObject
    )?,
  12. void onMouseMoved(
    1. LatLng newCoordinates
    )?,
  13. void onPositionChanged(
    1. MapCamera mapCamera
    )?,
  14. void onPointerDown(
    1. PointerDownEvent,
    2. LatLng
    )?,
  15. void onPointerUp(
    1. PointerUpEvent,
    2. LatLng
    )?,
  16. double? maxZoom,
  17. double? minZoom,
  18. PolygonLayer<Object>? boundingBox,
  19. Widget? additionnalInteractionWidget,
  20. required List<InterractiveMapLayer> tracableLayers,
  21. InterractiveLayerHoverBuilder? hovered,
})

Implementation

const OwlnextMap({
  super.key,
  this.overrideTile,
  //Controlling
  required this.tileController,
  this.controlBlocks,
  required this.mapController,
  this.showControls = true,
  this.authorizedActions = InteractiveFlag.all,
  //end Controlling
  required this.mapLocation,
  this.cameraConstraint,
  this.handleClickMap,
  this.handleClickLayer,
  this.onMouseMoved,
  this.onPositionChanged,
  this.onPointerDown,
  this.onPointerUp,
  this.maxZoom,
  this.minZoom,
  this.boundingBox,
  this.additionnalInteractionWidget,
  required this.tracableLayers,
  this.hovered,
});