@geowiki/map 0.16.9-dev.17 → 0.16.9-dev.19
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 +124 -37
- package/dist/index.d.ts +124 -37
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -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;
|
|
@@ -613,38 +613,125 @@ 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
727
|
layer_type?: "hillshade" | "terrainSource" | "satellite";
|
|
619
728
|
}[];
|
|
620
|
-
customLayers?:
|
|
621
|
-
id: string;
|
|
622
|
-
index: number;
|
|
623
|
-
isCustom: boolean;
|
|
624
|
-
type: "GeoJson";
|
|
625
|
-
url: string;
|
|
626
|
-
layerName: string;
|
|
627
|
-
color: string;
|
|
628
|
-
opacity: number;
|
|
629
|
-
title: string;
|
|
630
|
-
}[];
|
|
729
|
+
customLayers?: CustomLayer[];
|
|
631
730
|
mapControls?: {
|
|
632
731
|
type: "zoom" | "projection" | "toggle_layers";
|
|
633
732
|
get_bounds?: (arg: any) => any;
|
|
634
733
|
}[];
|
|
635
|
-
sourceData?:
|
|
636
|
-
name: string;
|
|
637
|
-
type: "geojson";
|
|
638
|
-
data: any;
|
|
639
|
-
custom_cluster?: boolean;
|
|
640
|
-
is_cluster?: boolean;
|
|
641
|
-
show_cluster_count?: boolean;
|
|
642
|
-
style?: {
|
|
643
|
-
cluster_color: string;
|
|
644
|
-
cluster_stroke_color: string;
|
|
645
|
-
pin_color: string;
|
|
646
|
-
};
|
|
647
|
-
}[];
|
|
734
|
+
sourceData?: SourceData[];
|
|
648
735
|
show_popup?: boolean;
|
|
649
736
|
popup?: {
|
|
650
737
|
click?: (arg: any) => void;
|
|
@@ -707,4 +794,4 @@ interface Props {
|
|
|
707
794
|
}
|
|
708
795
|
declare const LocationMarker: ({ position, setPosition }: Props) => react_jsx_runtime.JSX.Element | null;
|
|
709
796
|
|
|
710
|
-
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 };
|
|
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
|
@@ -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;
|
|
@@ -613,38 +613,125 @@ 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
727
|
layer_type?: "hillshade" | "terrainSource" | "satellite";
|
|
619
728
|
}[];
|
|
620
|
-
customLayers?:
|
|
621
|
-
id: string;
|
|
622
|
-
index: number;
|
|
623
|
-
isCustom: boolean;
|
|
624
|
-
type: "GeoJson";
|
|
625
|
-
url: string;
|
|
626
|
-
layerName: string;
|
|
627
|
-
color: string;
|
|
628
|
-
opacity: number;
|
|
629
|
-
title: string;
|
|
630
|
-
}[];
|
|
729
|
+
customLayers?: CustomLayer[];
|
|
631
730
|
mapControls?: {
|
|
632
731
|
type: "zoom" | "projection" | "toggle_layers";
|
|
633
732
|
get_bounds?: (arg: any) => any;
|
|
634
733
|
}[];
|
|
635
|
-
sourceData?:
|
|
636
|
-
name: string;
|
|
637
|
-
type: "geojson";
|
|
638
|
-
data: any;
|
|
639
|
-
custom_cluster?: boolean;
|
|
640
|
-
is_cluster?: boolean;
|
|
641
|
-
show_cluster_count?: boolean;
|
|
642
|
-
style?: {
|
|
643
|
-
cluster_color: string;
|
|
644
|
-
cluster_stroke_color: string;
|
|
645
|
-
pin_color: string;
|
|
646
|
-
};
|
|
647
|
-
}[];
|
|
734
|
+
sourceData?: SourceData[];
|
|
648
735
|
show_popup?: boolean;
|
|
649
736
|
popup?: {
|
|
650
737
|
click?: (arg: any) => void;
|
|
@@ -707,4 +794,4 @@ interface Props {
|
|
|
707
794
|
}
|
|
708
795
|
declare const LocationMarker: ({ position, setPosition }: Props) => react_jsx_runtime.JSX.Element | null;
|
|
709
796
|
|
|
710
|
-
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 };
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geowiki/map",
|
|
3
|
-
"version": "0.16.9-dev.
|
|
3
|
+
"version": "0.16.9-dev.19",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"react-hotkeys-hook": "^4.5.0",
|
|
25
25
|
"react-leaflet": "^4.2.1",
|
|
26
26
|
"zod": "^3.25.7",
|
|
27
|
-
"@geowiki/
|
|
28
|
-
"@geowiki/
|
|
29
|
-
"@geowiki/
|
|
30
|
-
"@geowiki/evoland-api-proxy": "0.16.9-dev.
|
|
31
|
-
"@geowiki/
|
|
27
|
+
"@geowiki/cms-proxy": "0.16.9-dev.19",
|
|
28
|
+
"@geowiki/core": "0.16.9-dev.19",
|
|
29
|
+
"@geowiki/design-system": "0.16.9-dev.19",
|
|
30
|
+
"@geowiki/evoland-api-proxy": "0.16.9-dev.19",
|
|
31
|
+
"@geowiki/ui": "0.16.9-dev.19"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@dnd-kit/core": "^6.3.1",
|