OwlnextMap constructor
const
OwlnextMap({
- Key? key,
- TileLayer? overrideTile,
- required MapTileSwitchController tileController,
- List<
MapControlBlock> ? controlBlocks, - required MapController mapController,
- bool? showControls = true,
- int? authorizedActions = InteractiveFlag.all,
- required MapLocation mapLocation,
- CameraConstraint? cameraConstraint,
- void handleClickMap()?,
- void handleClickLayer(
- TapDownDetails details,
- Object tappedObject
- void onMouseMoved(
- LatLng newCoordinates
- void onPositionChanged(
- MapCamera mapCamera
- void onPointerDown()?,
- void onPointerUp()?,
- double? maxZoom,
- double? minZoom,
- PolygonLayer<
Object> ? boundingBox, - Widget? additionnalInteractionWidget,
- required List<
InterractiveMapLayer> tracableLayers, - 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,
});