@map-colonies/react-components 4.12.0 → 4.13.1
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/@map-colonies/react-components.es.js +1720 -1717
- package/dist/@map-colonies/react-components.umd.js +18 -18
- package/dist/cesium-map/geocoder/geocoder-panel.d.ts +2 -0
- package/dist/cesium-map/map.css +1 -0
- package/dist/cesium-map/map.d.ts +0 -2
- package/dist/multi-selection/multi-selection.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Feature } from 'geojson';
|
|
2
3
|
type Method = 'GET' | 'POST';
|
|
3
4
|
type UrlGroup = {
|
|
4
5
|
baseUrl: string;
|
|
@@ -25,6 +26,7 @@ export type GeocoderOptions = UrlGroup & {
|
|
|
25
26
|
};
|
|
26
27
|
static?: [string, any][];
|
|
27
28
|
};
|
|
29
|
+
callbackFunc?: (data: Feature, options: GeocoderOptions, i: number) => void;
|
|
28
30
|
};
|
|
29
31
|
type GeocoderPanelProps = {
|
|
30
32
|
options: GeocoderOptions[];
|
package/dist/cesium-map/map.css
CHANGED
package/dist/cesium-map/map.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { Proj } from '../utils/projections';
|
|
|
5
5
|
import { GeocoderOptions } from './geocoder/geocoder-panel';
|
|
6
6
|
import LayerManager, { IRasterLayer, LegendExtractor } from './layers-manager';
|
|
7
7
|
import { IMapLegend } from './legend';
|
|
8
|
-
import { CesiumSceneMode } from './proxied.types';
|
|
9
8
|
interface ViewerProps extends ComponentProps<typeof Viewer> {
|
|
10
9
|
}
|
|
11
10
|
export declare class CesiumViewer extends CesiumViewerCls {
|
|
@@ -82,7 +81,6 @@ export interface CesiumMapProps extends ViewerProps {
|
|
|
82
81
|
locale?: {
|
|
83
82
|
[key: string]: string;
|
|
84
83
|
};
|
|
85
|
-
sceneModes?: (typeof CesiumSceneMode)[];
|
|
86
84
|
baseMaps?: IBaseMaps;
|
|
87
85
|
terrains?: ITerrain[];
|
|
88
86
|
useOptimizedTileRequests?: boolean;
|
|
@@ -9,7 +9,7 @@ export type MultiSelectionOption = {
|
|
|
9
9
|
interface MultiSelectionProps {
|
|
10
10
|
options: MultiSelectionOption[];
|
|
11
11
|
values?: MultiSelectionOption[];
|
|
12
|
-
onChange?: (data:
|
|
12
|
+
onChange?: (data: MultiSelectionOption[]) => void;
|
|
13
13
|
placeholder?: string;
|
|
14
14
|
styles?: StylesConfig;
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@map-colonies/react-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.1",
|
|
4
4
|
"main": "./dist/@map-colonies/react-components.umd.js",
|
|
5
5
|
"module": "./dist/@map-colonies/react-components.es.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"files": [
|
|
87
87
|
"dist"
|
|
88
88
|
],
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "0354e1117000e8bcadadaef24d47634eb4fb3a9a"
|
|
90
90
|
}
|