@geowiki/map 0.16.9-dev.2 → 0.16.9-dev.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -11,7 +11,7 @@ import { UseBoundStore, StoreApi } from 'zustand';
11
11
  import { TaskStatus, UtmResult } from '@geowiki/core';
12
12
  import { AssetElement } from '@geowiki/evoland-api-proxy';
13
13
  import { MapContainerProps } from 'react-leaflet';
14
- import { MapMenuItemItemDto, MapSettingsItemDto } from '@geowiki/cms-proxy';
14
+ import { MapMenuItemItemDto, MapSettingsItemDto, LayerItemDto } from '@geowiki/cms-proxy';
15
15
 
16
16
  declare const POSITION_CLASSES: {
17
17
  bottomleft: string;
@@ -245,7 +245,7 @@ interface CustomWMSTileLayerProps extends WMSOptions, LayerProps {
245
245
  }
246
246
  declare const CustomWMSTileLayer: ForwardRefExoticComponent<CustomWMSTileLayerProps & RefAttributes<BetterWMS>>;
247
247
 
248
- interface MapLayerInfo {
248
+ interface MapLayerInfo$1 {
249
249
  citation?: string;
250
250
  dateOfContent?: string;
251
251
  description?: string;
@@ -268,38 +268,38 @@ interface MapLayerInfo {
268
268
  };
269
269
  }
270
270
 
271
- interface CustomLegendItem {
271
+ interface CustomLegendItem$1 {
272
272
  label: string;
273
273
  color: string;
274
274
  symbol?: "circle" | "square" | "line" | "polygon" | "hexagon" | "icon";
275
275
  iconPath?: string;
276
276
  size?: number;
277
277
  }
278
- interface CustomLegendConfig {
278
+ interface CustomLegendConfig$1 {
279
279
  title?: string;
280
- items: CustomLegendItem[];
280
+ items: CustomLegendItem$1[];
281
281
  position?: "top" | "bottom" | "left" | "right";
282
282
  showTitle?: boolean;
283
283
  }
284
284
 
285
- interface MapLayerWithInfo {
285
+ interface MapLayerWithInfo$1 {
286
286
  id: string;
287
287
  title?: string;
288
288
  url: string;
289
289
  type: "WMS" | "GeoJson" | "GeoTrees" | "GoogleSheets" | "Marker" | "MarkerCluster";
290
290
  layerName: string;
291
- layerInfo?: MapLayerInfo;
291
+ layerInfo?: MapLayerInfo$1;
292
292
  opacity: number;
293
293
  color: string;
294
294
  properties?: string;
295
295
  showPopup?: boolean;
296
296
  index: number;
297
297
  order?: number;
298
- legendConfig?: CustomLegendConfig;
298
+ legendConfig?: CustomLegendConfig$1;
299
299
  }
300
300
 
301
301
  declare const GeoJsonLayer: React.FC<{
302
- layer: MapLayerWithInfo;
302
+ layer: MapLayerWithInfo$1;
303
303
  }>;
304
304
 
305
305
  declare const TimeSeries: () => react_jsx_runtime.JSX.Element;
@@ -337,11 +337,11 @@ type State$2 = {
337
337
  declare const useMapStore: zustand.UseBoundStore<zustand.StoreApi<State$2>>;
338
338
 
339
339
  type State$1 = {
340
- layers: MapLayerWithInfo[];
341
- add: (layer: MapLayerWithInfo) => void;
342
- remove: (layer: MapLayerWithInfo) => void;
340
+ layers: MapLayerWithInfo$1[];
341
+ add: (layer: MapLayerWithInfo$1) => void;
342
+ remove: (layer: MapLayerWithInfo$1) => void;
343
343
  updateOpacity: (id: string, opacity: number) => void;
344
- updateLayer: (id: string, updates: Partial<MapLayerWithInfo>) => void;
344
+ updateLayer: (id: string, updates: Partial<MapLayerWithInfo$1>) => void;
345
345
  reorderLayers: (oldIndex: number, newIndex: number) => void;
346
346
  refresh: () => void;
347
347
  selectedLayer: string;
@@ -596,12 +596,12 @@ declare const GeoTreesMap: () => react_jsx_runtime.JSX.Element;
596
596
 
597
597
  declare const CanopyMap: () => react_jsx_runtime.JSX.Element;
598
598
 
599
- interface Props {
599
+ interface Props$2 {
600
600
  mapMenuItems: MapMenuItemItemDto[];
601
601
  mapSettings: MapSettingsItemDto;
602
602
  session: any;
603
603
  }
604
- declare const GeoWikiMap: React__default.MemoExoticComponent<({ mapSettings, session }: Props) => react_jsx_runtime.JSX.Element>;
604
+ declare const GeoWikiMap: React__default.MemoExoticComponent<({ mapSettings, session }: Props$2) => react_jsx_runtime.JSX.Element>;
605
605
 
606
606
  type BaseLayerType = "Esri World imagery" | "OpenStreetMap" | "Google Hybrid" | "Google Satellite";
607
607
 
@@ -613,39 +613,130 @@ declare const WaybackTimelineMap: (props: {
613
613
  mapZoom: number;
614
614
  }) => react_jsx_runtime.JSX.Element;
615
615
 
616
+ interface MapLayerInfo {
617
+ citation?: string;
618
+ dateOfContent?: string;
619
+ description?: string;
620
+ function?: string;
621
+ geographicCoverage?: string;
622
+ isVisible?: boolean;
623
+ license?: string;
624
+ source?: string;
625
+ name?: string;
626
+ resolution?: string;
627
+ overview?: string;
628
+ hoverCardText?: string;
629
+ sourceLink?: {
630
+ name?: string;
631
+ href?: string;
632
+ };
633
+ citationLink?: {
634
+ name?: string;
635
+ href?: string;
636
+ };
637
+ }
638
+ interface MapLayerWithInfo {
639
+ id: string;
640
+ title?: string;
641
+ url: string;
642
+ type: "WMS" | "GeoJson" | "GeoTrees" | "GoogleSheets" | "Marker" | "MarkerCluster";
643
+ layerName: string;
644
+ layerInfo?: MapLayerInfo;
645
+ opacity: number;
646
+ color: string;
647
+ properties?: string;
648
+ showPopup?: boolean;
649
+ index: number;
650
+ order?: number;
651
+ legendConfig?: CustomLegendConfig;
652
+ }
653
+
654
+ interface CustomLegendItem {
655
+ label: string;
656
+ color: string;
657
+ symbol?: "circle" | "square" | "line" | "polygon" | "hexagon" | "icon";
658
+ iconPath?: string;
659
+ size?: number;
660
+ }
661
+ interface CustomLegendConfig {
662
+ title?: string;
663
+ items: CustomLegendItem[];
664
+ position?: "top" | "bottom" | "left" | "right";
665
+ showTitle?: boolean;
666
+ }
667
+ interface PopupConfig {
668
+ enabled: boolean;
669
+ renderContent: (feature: any) => string;
670
+ popupOptions?: {
671
+ maxWidth?: number;
672
+ maxHeight?: number;
673
+ className?: string;
674
+ [key: string]: any;
675
+ };
676
+ }
677
+ interface CustomMapLayer extends MapLayerWithInfo {
678
+ isCustom: true;
679
+ legendConfig?: CustomLegendConfig;
680
+ layerData?: any;
681
+ styleConfig?: {
682
+ fillColor?: string;
683
+ strokeColor?: string;
684
+ strokeWidth?: number;
685
+ fillOpacity?: number;
686
+ strokeOpacity?: number;
687
+ statusColorMap?: Record<string, string>;
688
+ };
689
+ popupConfig?: PopupConfig;
690
+ ontoggle?: () => void;
691
+ }
692
+ interface CustomLayerTemplate {
693
+ id: string;
694
+ name: string;
695
+ description: string;
696
+ type: "GoogleSheets" | "WMS" | "GeoJson" | "GeoTrees" | "Marker" | "MarkerCluster";
697
+ defaultStyle?: CustomMapLayer["styleConfig"];
698
+ legendTemplate?: Omit<CustomLegendConfig, "items">;
699
+ }
700
+ type CustomLayer = {
701
+ id: string;
702
+ index: number;
703
+ isCustom: boolean;
704
+ type: "GeoJson";
705
+ url: string;
706
+ layerName: string;
707
+ color: string;
708
+ opacity: number;
709
+ title: string;
710
+ };
711
+ type SourceData = {
712
+ name: string;
713
+ type: "geojson";
714
+ data: any;
715
+ custom_cluster?: boolean;
716
+ is_cluster?: boolean;
717
+ show_cluster_count?: boolean;
718
+ style?: {
719
+ cluster_color: string;
720
+ cluster_stroke_color: string;
721
+ pin_color: string;
722
+ };
723
+ };
724
+
616
725
  interface MapLibreProps extends React__default.HTMLAttributes<HTMLDivElement> {
617
726
  baseLayers?: {
618
- name: string;
619
- type: string;
620
- layer_type?: "hillshade" | "terrainSource";
621
- url?: string;
622
- tileSize?: number;
623
- }[];
624
- customLayers?: {
625
- id: string;
626
- index: number;
627
- isCustom: boolean;
628
- type: "GeoJson";
629
- url: string;
630
- layerName: string;
631
- color: string;
632
- opacity: number;
633
- title: string;
727
+ layer_type?: "hillshade" | "terrainSource" | "satellite";
634
728
  }[];
729
+ customLayers?: CustomLayer[];
635
730
  mapControls?: {
636
731
  type: "zoom" | "projection" | "toggle_layers";
732
+ get_bounds?: (arg: any) => any;
637
733
  }[];
638
- sourceData?: {
639
- name: string;
640
- type: "geojson";
641
- data: any;
642
- is_cluster?: boolean;
643
- show_cluster_count?: boolean;
644
- style?: {
645
- cluster_color: string;
646
- cluster_stroke_color: string;
647
- };
648
- }[];
734
+ sourceData?: SourceData[];
735
+ show_popup?: boolean;
736
+ popup?: {
737
+ click?: (arg: any) => void;
738
+ style?: {};
739
+ };
649
740
  }
650
741
  declare const MapLibre: React__default.ForwardRefExoticComponent<MapLibreProps & React__default.RefAttributes<HTMLDivElement>>;
651
742
 
@@ -673,4 +764,34 @@ declare class BingLayer extends L.TileLayer {
673
764
 
674
765
  declare const BingLeafletLayer: ForwardRefExoticComponent<BingLayerOptions & RefAttributes<BingLayer>>;
675
766
 
676
- export { Annotation, type AnnotationUndoRedo, type Asset, BasfMap, BasicMap, BingLeafletLayer, CDSE_Layer, CanopyMap, CanvasImage, CustomWMSTileLayer, type CustomWMSTileLayerProps, EvoLandGeometry, type EvoLandRasterType, EvolandContainer, EvolandLeftSideBar, GenericControl, GeoJsonLayer, GeoTreesMap, GeoWikiMap, type ICanvasImageProps, type IMapSidebarProps, type IReadOnlyTiffImageProps, type ITiffImageProps, type ITiffWithD3Props, LabelButton, type LabelButtonProps, LabelButtonView, type LabelButtonViewProps, LayerStoreList, type LocationWithGeometry, MapEvents, MapLibre, MapSidebar, OverlayLayer, PointSelection, Questions, type RasterAssetItem, type RasterItem, type RasterItemBase64, RasterType, ReadOnlyTiffImage, SegmentationType, SelectedPoint, TiffImage, TiffImageContainer, TimeSeries, ViewAssets, WaybackTimelineMap, useEvolandStore, useMapLayerStore, useMapStore };
767
+ declare function MapContainer({ mapMenuItems, mapSettings, session, }: {
768
+ mapMenuItems?: MapMenuItemItemDto[];
769
+ mapSettings?: MapSettingsItemDto;
770
+ session?: unknown;
771
+ }): react_jsx_runtime.JSX.Element;
772
+
773
+ interface Props$1 {
774
+ layer: LayerItemDto;
775
+ }
776
+ declare const LayerSwitch: ({ layer }: Props$1) => react_jsx_runtime.JSX.Element;
777
+
778
+ type ClusterEvents = {
779
+ onClick?: L__default.LeafletMouseEventHandlerFn;
780
+ onDblClick?: L__default.LeafletMouseEventHandlerFn;
781
+ onMouseDown?: L__default.LeafletMouseEventHandlerFn;
782
+ onMouseUp?: L__default.LeafletMouseEventHandlerFn;
783
+ onMouseOver?: L__default.LeafletMouseEventHandlerFn;
784
+ onMouseOut?: L__default.LeafletMouseEventHandlerFn;
785
+ onContextMenu?: L__default.LeafletMouseEventHandlerFn;
786
+ };
787
+ declare const MarkerClusterGroup: ForwardRefExoticComponent<L__default.MarkerClusterGroupOptions & {
788
+ children: React__default.ReactNode;
789
+ } & ClusterEvents & RefAttributes<any>>;
790
+
791
+ interface Props {
792
+ position: LatLng;
793
+ setPosition: React__default.Dispatch<React__default.SetStateAction<LatLng>>;
794
+ }
795
+ declare const LocationMarker: ({ position, setPosition }: Props) => react_jsx_runtime.JSX.Element | null;
796
+
797
+ export { Annotation, type AnnotationUndoRedo, type Asset, BasfMap, BasicMap, BingLeafletLayer, CDSE_Layer, CanopyMap, CanvasImage, type CustomLayer, type CustomLayerTemplate, type CustomLegendConfig, type CustomLegendItem, type CustomMapLayer, CustomWMSTileLayer, type CustomWMSTileLayerProps, EvoLandGeometry, type EvoLandRasterType, EvolandContainer, EvolandLeftSideBar, GenericControl, GeoJsonLayer, GeoTreesMap, GeoWikiMap, MapContainer as GeoWikiMapContainer, type ICanvasImageProps, type IMapSidebarProps, type IReadOnlyTiffImageProps, type ITiffImageProps, type ITiffWithD3Props, LabelButton, type LabelButtonProps, LabelButtonView, type LabelButtonViewProps, LayerStoreList, LayerSwitch, LocationMarker, type LocationWithGeometry, MapEvents, MapLibre, MapSidebar, MarkerClusterGroup, OverlayLayer, PointSelection, type PopupConfig, Questions, type RasterAssetItem, type RasterItem, type RasterItemBase64, RasterType, ReadOnlyTiffImage, SegmentationType, SelectedPoint, type SourceData, TiffImage, TiffImageContainer, TimeSeries, ViewAssets, WaybackTimelineMap, useEvolandStore, useMapLayerStore, useMapStore };
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { UseBoundStore, StoreApi } from 'zustand';
11
11
  import { TaskStatus, UtmResult } from '@geowiki/core';
12
12
  import { AssetElement } from '@geowiki/evoland-api-proxy';
13
13
  import { MapContainerProps } from 'react-leaflet';
14
- import { MapMenuItemItemDto, MapSettingsItemDto } from '@geowiki/cms-proxy';
14
+ import { MapMenuItemItemDto, MapSettingsItemDto, LayerItemDto } from '@geowiki/cms-proxy';
15
15
 
16
16
  declare const POSITION_CLASSES: {
17
17
  bottomleft: string;
@@ -245,7 +245,7 @@ interface CustomWMSTileLayerProps extends WMSOptions, LayerProps {
245
245
  }
246
246
  declare const CustomWMSTileLayer: ForwardRefExoticComponent<CustomWMSTileLayerProps & RefAttributes<BetterWMS>>;
247
247
 
248
- interface MapLayerInfo {
248
+ interface MapLayerInfo$1 {
249
249
  citation?: string;
250
250
  dateOfContent?: string;
251
251
  description?: string;
@@ -268,38 +268,38 @@ interface MapLayerInfo {
268
268
  };
269
269
  }
270
270
 
271
- interface CustomLegendItem {
271
+ interface CustomLegendItem$1 {
272
272
  label: string;
273
273
  color: string;
274
274
  symbol?: "circle" | "square" | "line" | "polygon" | "hexagon" | "icon";
275
275
  iconPath?: string;
276
276
  size?: number;
277
277
  }
278
- interface CustomLegendConfig {
278
+ interface CustomLegendConfig$1 {
279
279
  title?: string;
280
- items: CustomLegendItem[];
280
+ items: CustomLegendItem$1[];
281
281
  position?: "top" | "bottom" | "left" | "right";
282
282
  showTitle?: boolean;
283
283
  }
284
284
 
285
- interface MapLayerWithInfo {
285
+ interface MapLayerWithInfo$1 {
286
286
  id: string;
287
287
  title?: string;
288
288
  url: string;
289
289
  type: "WMS" | "GeoJson" | "GeoTrees" | "GoogleSheets" | "Marker" | "MarkerCluster";
290
290
  layerName: string;
291
- layerInfo?: MapLayerInfo;
291
+ layerInfo?: MapLayerInfo$1;
292
292
  opacity: number;
293
293
  color: string;
294
294
  properties?: string;
295
295
  showPopup?: boolean;
296
296
  index: number;
297
297
  order?: number;
298
- legendConfig?: CustomLegendConfig;
298
+ legendConfig?: CustomLegendConfig$1;
299
299
  }
300
300
 
301
301
  declare const GeoJsonLayer: React.FC<{
302
- layer: MapLayerWithInfo;
302
+ layer: MapLayerWithInfo$1;
303
303
  }>;
304
304
 
305
305
  declare const TimeSeries: () => react_jsx_runtime.JSX.Element;
@@ -337,11 +337,11 @@ type State$2 = {
337
337
  declare const useMapStore: zustand.UseBoundStore<zustand.StoreApi<State$2>>;
338
338
 
339
339
  type State$1 = {
340
- layers: MapLayerWithInfo[];
341
- add: (layer: MapLayerWithInfo) => void;
342
- remove: (layer: MapLayerWithInfo) => void;
340
+ layers: MapLayerWithInfo$1[];
341
+ add: (layer: MapLayerWithInfo$1) => void;
342
+ remove: (layer: MapLayerWithInfo$1) => void;
343
343
  updateOpacity: (id: string, opacity: number) => void;
344
- updateLayer: (id: string, updates: Partial<MapLayerWithInfo>) => void;
344
+ updateLayer: (id: string, updates: Partial<MapLayerWithInfo$1>) => void;
345
345
  reorderLayers: (oldIndex: number, newIndex: number) => void;
346
346
  refresh: () => void;
347
347
  selectedLayer: string;
@@ -596,12 +596,12 @@ declare const GeoTreesMap: () => react_jsx_runtime.JSX.Element;
596
596
 
597
597
  declare const CanopyMap: () => react_jsx_runtime.JSX.Element;
598
598
 
599
- interface Props {
599
+ interface Props$2 {
600
600
  mapMenuItems: MapMenuItemItemDto[];
601
601
  mapSettings: MapSettingsItemDto;
602
602
  session: any;
603
603
  }
604
- declare const GeoWikiMap: React__default.MemoExoticComponent<({ mapSettings, session }: Props) => react_jsx_runtime.JSX.Element>;
604
+ declare const GeoWikiMap: React__default.MemoExoticComponent<({ mapSettings, session }: Props$2) => react_jsx_runtime.JSX.Element>;
605
605
 
606
606
  type BaseLayerType = "Esri World imagery" | "OpenStreetMap" | "Google Hybrid" | "Google Satellite";
607
607
 
@@ -613,39 +613,130 @@ declare const WaybackTimelineMap: (props: {
613
613
  mapZoom: number;
614
614
  }) => react_jsx_runtime.JSX.Element;
615
615
 
616
+ interface MapLayerInfo {
617
+ citation?: string;
618
+ dateOfContent?: string;
619
+ description?: string;
620
+ function?: string;
621
+ geographicCoverage?: string;
622
+ isVisible?: boolean;
623
+ license?: string;
624
+ source?: string;
625
+ name?: string;
626
+ resolution?: string;
627
+ overview?: string;
628
+ hoverCardText?: string;
629
+ sourceLink?: {
630
+ name?: string;
631
+ href?: string;
632
+ };
633
+ citationLink?: {
634
+ name?: string;
635
+ href?: string;
636
+ };
637
+ }
638
+ interface MapLayerWithInfo {
639
+ id: string;
640
+ title?: string;
641
+ url: string;
642
+ type: "WMS" | "GeoJson" | "GeoTrees" | "GoogleSheets" | "Marker" | "MarkerCluster";
643
+ layerName: string;
644
+ layerInfo?: MapLayerInfo;
645
+ opacity: number;
646
+ color: string;
647
+ properties?: string;
648
+ showPopup?: boolean;
649
+ index: number;
650
+ order?: number;
651
+ legendConfig?: CustomLegendConfig;
652
+ }
653
+
654
+ interface CustomLegendItem {
655
+ label: string;
656
+ color: string;
657
+ symbol?: "circle" | "square" | "line" | "polygon" | "hexagon" | "icon";
658
+ iconPath?: string;
659
+ size?: number;
660
+ }
661
+ interface CustomLegendConfig {
662
+ title?: string;
663
+ items: CustomLegendItem[];
664
+ position?: "top" | "bottom" | "left" | "right";
665
+ showTitle?: boolean;
666
+ }
667
+ interface PopupConfig {
668
+ enabled: boolean;
669
+ renderContent: (feature: any) => string;
670
+ popupOptions?: {
671
+ maxWidth?: number;
672
+ maxHeight?: number;
673
+ className?: string;
674
+ [key: string]: any;
675
+ };
676
+ }
677
+ interface CustomMapLayer extends MapLayerWithInfo {
678
+ isCustom: true;
679
+ legendConfig?: CustomLegendConfig;
680
+ layerData?: any;
681
+ styleConfig?: {
682
+ fillColor?: string;
683
+ strokeColor?: string;
684
+ strokeWidth?: number;
685
+ fillOpacity?: number;
686
+ strokeOpacity?: number;
687
+ statusColorMap?: Record<string, string>;
688
+ };
689
+ popupConfig?: PopupConfig;
690
+ ontoggle?: () => void;
691
+ }
692
+ interface CustomLayerTemplate {
693
+ id: string;
694
+ name: string;
695
+ description: string;
696
+ type: "GoogleSheets" | "WMS" | "GeoJson" | "GeoTrees" | "Marker" | "MarkerCluster";
697
+ defaultStyle?: CustomMapLayer["styleConfig"];
698
+ legendTemplate?: Omit<CustomLegendConfig, "items">;
699
+ }
700
+ type CustomLayer = {
701
+ id: string;
702
+ index: number;
703
+ isCustom: boolean;
704
+ type: "GeoJson";
705
+ url: string;
706
+ layerName: string;
707
+ color: string;
708
+ opacity: number;
709
+ title: string;
710
+ };
711
+ type SourceData = {
712
+ name: string;
713
+ type: "geojson";
714
+ data: any;
715
+ custom_cluster?: boolean;
716
+ is_cluster?: boolean;
717
+ show_cluster_count?: boolean;
718
+ style?: {
719
+ cluster_color: string;
720
+ cluster_stroke_color: string;
721
+ pin_color: string;
722
+ };
723
+ };
724
+
616
725
  interface MapLibreProps extends React__default.HTMLAttributes<HTMLDivElement> {
617
726
  baseLayers?: {
618
- name: string;
619
- type: string;
620
- layer_type?: "hillshade" | "terrainSource";
621
- url?: string;
622
- tileSize?: number;
623
- }[];
624
- customLayers?: {
625
- id: string;
626
- index: number;
627
- isCustom: boolean;
628
- type: "GeoJson";
629
- url: string;
630
- layerName: string;
631
- color: string;
632
- opacity: number;
633
- title: string;
727
+ layer_type?: "hillshade" | "terrainSource" | "satellite";
634
728
  }[];
729
+ customLayers?: CustomLayer[];
635
730
  mapControls?: {
636
731
  type: "zoom" | "projection" | "toggle_layers";
732
+ get_bounds?: (arg: any) => any;
637
733
  }[];
638
- sourceData?: {
639
- name: string;
640
- type: "geojson";
641
- data: any;
642
- is_cluster?: boolean;
643
- show_cluster_count?: boolean;
644
- style?: {
645
- cluster_color: string;
646
- cluster_stroke_color: string;
647
- };
648
- }[];
734
+ sourceData?: SourceData[];
735
+ show_popup?: boolean;
736
+ popup?: {
737
+ click?: (arg: any) => void;
738
+ style?: {};
739
+ };
649
740
  }
650
741
  declare const MapLibre: React__default.ForwardRefExoticComponent<MapLibreProps & React__default.RefAttributes<HTMLDivElement>>;
651
742
 
@@ -673,4 +764,34 @@ declare class BingLayer extends L.TileLayer {
673
764
 
674
765
  declare const BingLeafletLayer: ForwardRefExoticComponent<BingLayerOptions & RefAttributes<BingLayer>>;
675
766
 
676
- export { Annotation, type AnnotationUndoRedo, type Asset, BasfMap, BasicMap, BingLeafletLayer, CDSE_Layer, CanopyMap, CanvasImage, CustomWMSTileLayer, type CustomWMSTileLayerProps, EvoLandGeometry, type EvoLandRasterType, EvolandContainer, EvolandLeftSideBar, GenericControl, GeoJsonLayer, GeoTreesMap, GeoWikiMap, type ICanvasImageProps, type IMapSidebarProps, type IReadOnlyTiffImageProps, type ITiffImageProps, type ITiffWithD3Props, LabelButton, type LabelButtonProps, LabelButtonView, type LabelButtonViewProps, LayerStoreList, type LocationWithGeometry, MapEvents, MapLibre, MapSidebar, OverlayLayer, PointSelection, Questions, type RasterAssetItem, type RasterItem, type RasterItemBase64, RasterType, ReadOnlyTiffImage, SegmentationType, SelectedPoint, TiffImage, TiffImageContainer, TimeSeries, ViewAssets, WaybackTimelineMap, useEvolandStore, useMapLayerStore, useMapStore };
767
+ declare function MapContainer({ mapMenuItems, mapSettings, session, }: {
768
+ mapMenuItems?: MapMenuItemItemDto[];
769
+ mapSettings?: MapSettingsItemDto;
770
+ session?: unknown;
771
+ }): react_jsx_runtime.JSX.Element;
772
+
773
+ interface Props$1 {
774
+ layer: LayerItemDto;
775
+ }
776
+ declare const LayerSwitch: ({ layer }: Props$1) => react_jsx_runtime.JSX.Element;
777
+
778
+ type ClusterEvents = {
779
+ onClick?: L__default.LeafletMouseEventHandlerFn;
780
+ onDblClick?: L__default.LeafletMouseEventHandlerFn;
781
+ onMouseDown?: L__default.LeafletMouseEventHandlerFn;
782
+ onMouseUp?: L__default.LeafletMouseEventHandlerFn;
783
+ onMouseOver?: L__default.LeafletMouseEventHandlerFn;
784
+ onMouseOut?: L__default.LeafletMouseEventHandlerFn;
785
+ onContextMenu?: L__default.LeafletMouseEventHandlerFn;
786
+ };
787
+ declare const MarkerClusterGroup: ForwardRefExoticComponent<L__default.MarkerClusterGroupOptions & {
788
+ children: React__default.ReactNode;
789
+ } & ClusterEvents & RefAttributes<any>>;
790
+
791
+ interface Props {
792
+ position: LatLng;
793
+ setPosition: React__default.Dispatch<React__default.SetStateAction<LatLng>>;
794
+ }
795
+ declare const LocationMarker: ({ position, setPosition }: Props) => react_jsx_runtime.JSX.Element | null;
796
+
797
+ export { Annotation, type AnnotationUndoRedo, type Asset, BasfMap, BasicMap, BingLeafletLayer, CDSE_Layer, CanopyMap, CanvasImage, type CustomLayer, type CustomLayerTemplate, type CustomLegendConfig, type CustomLegendItem, type CustomMapLayer, CustomWMSTileLayer, type CustomWMSTileLayerProps, EvoLandGeometry, type EvoLandRasterType, EvolandContainer, EvolandLeftSideBar, GenericControl, GeoJsonLayer, GeoTreesMap, GeoWikiMap, MapContainer as GeoWikiMapContainer, type ICanvasImageProps, type IMapSidebarProps, type IReadOnlyTiffImageProps, type ITiffImageProps, type ITiffWithD3Props, LabelButton, type LabelButtonProps, LabelButtonView, type LabelButtonViewProps, LayerStoreList, LayerSwitch, LocationMarker, type LocationWithGeometry, MapEvents, MapLibre, MapSidebar, MarkerClusterGroup, OverlayLayer, PointSelection, type PopupConfig, Questions, type RasterAssetItem, type RasterItem, type RasterItemBase64, RasterType, ReadOnlyTiffImage, SegmentationType, SelectedPoint, type SourceData, TiffImage, TiffImageContainer, TimeSeries, ViewAssets, WaybackTimelineMap, useEvolandStore, useMapLayerStore, useMapStore };