OwlnextMap constructor
const
OwlnextMap({
- Key? key,
- required List<
TileLayerProvider> tiles, - required MapController mapController,
- bool? showControls = true,
- int? authorizedActions = InteractiveFlag.all,
- required MapLocation mapLocation,
- required List<
Marker> markers, - void handleClickMap(
- TapPosition,
- LatLng
- void handleClickLayer(
- TapDownDetails details,
- Object tappedObject
- void onMouseMoved(
- LatLng newCoordinates
- void onPositionChanged(
- MapCamera mapCamera
- double? maxZoom,
- double? minZoom,
- TileLayer? overrideTile,
- PolygonLayer<
Object> ? boundingBox, - Widget? additionnalInteractionWidget,
- required List<
InterractiveMapLayer> tracableLayers, - InterractiveLayerHoverBuilder? hovered,
- Future<
void> onMapScreenshot(- Uint8List? screenshotBytes
- List<
MapControlBlock> ? controlBlocks, - void onScreenshotTriggerAvailable(
- Future<
void> ()
- Future<
Implementation
const OwlnextMap({
super.key,
required this.tiles,
required this.mapController,
this.showControls = true,
this.authorizedActions = InteractiveFlag.all,
required this.mapLocation,
required this.markers,
this.handleClickMap,
this.handleClickLayer,
this.onMouseMoved,
this.onPositionChanged,
this.maxZoom,
this.minZoom,
this.overrideTile,
this.boundingBox,
this.additionnalInteractionWidget,
required this.tracableLayers,
this.hovered,
this.onMapScreenshot,
this.controlBlocks,
this.onScreenshotTriggerAvailable,
});