@geowiki/map 0.16.9-dev.5 → 0.16.9-dev.7
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/GeoWikiMap-G2JPQNTZ.mjs +7 -0
- package/dist/chunk-3LCQXIYM.mjs +11086 -0
- package/dist/index.d.mts +34 -4
- package/dist/index.d.ts +34 -4
- package/dist/index.js +10153 -9651
- package/dist/index.mjs +1312 -12320
- package/package.json +8 -8
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;
|
|
@@ -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
|
|
|
@@ -673,4 +673,34 @@ declare class BingLayer extends L.TileLayer {
|
|
|
673
673
|
|
|
674
674
|
declare const BingLeafletLayer: ForwardRefExoticComponent<BingLayerOptions & RefAttributes<BingLayer>>;
|
|
675
675
|
|
|
676
|
-
|
|
676
|
+
declare function MapContainer({ mapMenuItems, mapSettings, session, }: {
|
|
677
|
+
mapMenuItems?: MapMenuItemItemDto[];
|
|
678
|
+
mapSettings?: MapSettingsItemDto;
|
|
679
|
+
session?: unknown;
|
|
680
|
+
}): react_jsx_runtime.JSX.Element;
|
|
681
|
+
|
|
682
|
+
interface Props$1 {
|
|
683
|
+
layer: LayerItemDto;
|
|
684
|
+
}
|
|
685
|
+
declare const LayerSwitch: ({ layer }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
686
|
+
|
|
687
|
+
type ClusterEvents = {
|
|
688
|
+
onClick?: L.LeafletMouseEventHandlerFn;
|
|
689
|
+
onDblClick?: L.LeafletMouseEventHandlerFn;
|
|
690
|
+
onMouseDown?: L.LeafletMouseEventHandlerFn;
|
|
691
|
+
onMouseUp?: L.LeafletMouseEventHandlerFn;
|
|
692
|
+
onMouseOver?: L.LeafletMouseEventHandlerFn;
|
|
693
|
+
onMouseOut?: L.LeafletMouseEventHandlerFn;
|
|
694
|
+
onContextMenu?: L.LeafletMouseEventHandlerFn;
|
|
695
|
+
};
|
|
696
|
+
declare const MarkerClusterGroup: ForwardRefExoticComponent<L.MarkerClusterGroupOptions & {
|
|
697
|
+
children: React__default.ReactNode;
|
|
698
|
+
} & ClusterEvents & RefAttributes<any>>;
|
|
699
|
+
|
|
700
|
+
interface Props {
|
|
701
|
+
position: LatLng;
|
|
702
|
+
setPosition: React__default.Dispatch<React__default.SetStateAction<LatLng>>;
|
|
703
|
+
}
|
|
704
|
+
declare const LocationMarker: ({ position, setPosition }: Props) => react_jsx_runtime.JSX.Element | null;
|
|
705
|
+
|
|
706
|
+
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, 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, Questions, type RasterAssetItem, type RasterItem, type RasterItemBase64, RasterType, ReadOnlyTiffImage, SegmentationType, SelectedPoint, 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;
|
|
@@ -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
|
|
|
@@ -673,4 +673,34 @@ declare class BingLayer extends L.TileLayer {
|
|
|
673
673
|
|
|
674
674
|
declare const BingLeafletLayer: ForwardRefExoticComponent<BingLayerOptions & RefAttributes<BingLayer>>;
|
|
675
675
|
|
|
676
|
-
|
|
676
|
+
declare function MapContainer({ mapMenuItems, mapSettings, session, }: {
|
|
677
|
+
mapMenuItems?: MapMenuItemItemDto[];
|
|
678
|
+
mapSettings?: MapSettingsItemDto;
|
|
679
|
+
session?: unknown;
|
|
680
|
+
}): react_jsx_runtime.JSX.Element;
|
|
681
|
+
|
|
682
|
+
interface Props$1 {
|
|
683
|
+
layer: LayerItemDto;
|
|
684
|
+
}
|
|
685
|
+
declare const LayerSwitch: ({ layer }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
686
|
+
|
|
687
|
+
type ClusterEvents = {
|
|
688
|
+
onClick?: L.LeafletMouseEventHandlerFn;
|
|
689
|
+
onDblClick?: L.LeafletMouseEventHandlerFn;
|
|
690
|
+
onMouseDown?: L.LeafletMouseEventHandlerFn;
|
|
691
|
+
onMouseUp?: L.LeafletMouseEventHandlerFn;
|
|
692
|
+
onMouseOver?: L.LeafletMouseEventHandlerFn;
|
|
693
|
+
onMouseOut?: L.LeafletMouseEventHandlerFn;
|
|
694
|
+
onContextMenu?: L.LeafletMouseEventHandlerFn;
|
|
695
|
+
};
|
|
696
|
+
declare const MarkerClusterGroup: ForwardRefExoticComponent<L.MarkerClusterGroupOptions & {
|
|
697
|
+
children: React__default.ReactNode;
|
|
698
|
+
} & ClusterEvents & RefAttributes<any>>;
|
|
699
|
+
|
|
700
|
+
interface Props {
|
|
701
|
+
position: LatLng;
|
|
702
|
+
setPosition: React__default.Dispatch<React__default.SetStateAction<LatLng>>;
|
|
703
|
+
}
|
|
704
|
+
declare const LocationMarker: ({ position, setPosition }: Props) => react_jsx_runtime.JSX.Element | null;
|
|
705
|
+
|
|
706
|
+
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, 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, Questions, type RasterAssetItem, type RasterItem, type RasterItemBase64, RasterType, ReadOnlyTiffImage, SegmentationType, SelectedPoint, TiffImage, TiffImageContainer, TimeSeries, ViewAssets, WaybackTimelineMap, useEvolandStore, useMapLayerStore, useMapStore };
|