@skzz/components-gis 0.0.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/index.css +2 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.es.js +7416 -0
- package/dist/index.umd.js +3 -0
- package/dist/shims-vue.d.ts +7 -0
- package/dist/utils/layerProviderKey.d.ts +2 -0
- package/dist/utils/layerStack.d.ts +33 -0
- package/dist/utils/zzts3dLayerSignature.d.ts +2 -0
- package/dist/zz-analysis/zz-terrain-excavation/excavationUtils.d.ts +35 -0
- package/dist/zz-analysis/zz-terrain-excavation/index.vue.d.ts +24 -0
- package/dist/zz-analysis/zz-terrain-excavation/types.d.ts +59 -0
- package/dist/zz-analysis/zz-terrain-excavation/useTerrainExcavation.d.ts +34 -0
- package/dist/zz-entity/zz-entity-point/index.vue.d.ts +8 -0
- package/dist/zz-entity/zz-entity-polygon/index.vue.d.ts +8 -0
- package/dist/zz-entity/zz-entity-polyline/index.vue.d.ts +8 -0
- package/dist/zz-layer/zz-layer-geojson/index.vue.d.ts +38 -0
- package/dist/zz-layer/zz-layer-mvt/index.vue.d.ts +16 -0
- package/dist/zz-layer/zz-layer-wms/index.vue.d.ts +15 -0
- package/dist/zz-layer/zz-layer-wmts/index.vue.d.ts +15 -0
- package/dist/zz-layer/zz-layer-xyz/index.vue.d.ts +9 -0
- package/dist/zz-layer/zz-layer-zzts/index.vue.d.ts +15 -0
- package/dist/zz-layer/zz-layer-zzts3d/entityGrid-0.1.d.ts +19 -0
- package/dist/zz-layer/zz-layer-zzts3d/entityGrid-1.0.d.ts +19 -0
- package/dist/zz-layer/zz-layer-zzts3d/entityGrid.d.ts +19 -0
- package/dist/zz-layer/zz-layer-zzts3d/index.vue.d.ts +13 -0
- package/dist/zz-layer/zz-layer-zzts3d-grid/color.vue.d.ts +7 -0
- package/dist/zz-layer/zz-layer-zzts3d-grid/index.vue.d.ts +8 -0
- package/dist/zz-layer/zz-layer-zzts3d-grid/interpolation.vue.d.ts +7 -0
- package/dist/zz-layer/zz-layer-zzts3d-grid/query.vue.d.ts +10 -0
- package/dist/zz-layer/zz-layer-zzts3d-point/entityGrid.d.ts +19 -0
- package/dist/zz-layer/zz-layer-zzts3d-point/index.vue.d.ts +8 -0
- package/dist/zz-layer/zz-layer-zzts3d-point/pointTileUtils.d.ts +8 -0
- package/dist/zz-layer/zz-layer-zzts3d-point/queryPoint.vue.d.ts +10 -0
- package/dist/zz-legend/index.vue.d.ts +73 -0
- package/dist/zz-model/zz-3dtiles/index.vue.d.ts +14 -0
- package/dist/zz-model/zz-gltf/index.vue.d.ts +8 -0
- package/dist/zz-terrain/index.vue.d.ts +8 -0
- package/dist/zz-viewer/index.vue.d.ts +28 -0
- package/package.json +62 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type * as Cesium from 'cesium';
|
|
2
|
+
export declare const LAYER_TYPE_BAND: Record<string, number>;
|
|
3
|
+
type CesiumViewer = Cesium.Viewer;
|
|
4
|
+
export type ImageryStackMeta = {
|
|
5
|
+
layerType: string;
|
|
6
|
+
groupKey: string;
|
|
7
|
+
stackIndex: number;
|
|
8
|
+
typeBandBase?: number;
|
|
9
|
+
subStackIndex?: number;
|
|
10
|
+
tileOrder?: number;
|
|
11
|
+
};
|
|
12
|
+
export type PrimitiveStackMeta = {
|
|
13
|
+
layerType: string;
|
|
14
|
+
groupKey: string;
|
|
15
|
+
stackIndex: number;
|
|
16
|
+
subStackIndex?: number;
|
|
17
|
+
tileOrder?: number;
|
|
18
|
+
};
|
|
19
|
+
export declare function tagImageryLayerStackMeta(imageryLayer: Cesium.ImageryLayer, meta: ImageryStackMeta): void;
|
|
20
|
+
export declare function tagPrimitiveStackMeta(primitive: Cesium.Primitive | Cesium.Cesium3DTileset, meta: PrimitiveStackMeta): void;
|
|
21
|
+
export declare function getBaseImageryIndex(viewer: CesiumViewer): number;
|
|
22
|
+
export declare function moveImageryLayerToIndex(viewer: CesiumViewer, imageryLayer: Cesium.ImageryLayer, targetIndex: number): void;
|
|
23
|
+
export declare function movePrimitiveToIndex(viewer: CesiumViewer, primitive: Cesium.Primitive | Cesium.Cesium3DTileset, targetIndex: number): void;
|
|
24
|
+
export declare function syncImageryLayerStack(viewer: CesiumViewer): void;
|
|
25
|
+
export declare function syncPrimitiveStack(viewer: CesiumViewer): void;
|
|
26
|
+
export declare function scheduleImageryLayerStackSync(viewer: CesiumViewer, delay?: number): void;
|
|
27
|
+
export declare function schedulePrimitiveStackSync(viewer: CesiumViewer, delay?: number): void;
|
|
28
|
+
export declare function applyImageryStackIndex(viewer: CesiumViewer, imageryLayer: Cesium.ImageryLayer, stackIndex: number, meta?: Partial<ImageryStackMeta>): void;
|
|
29
|
+
export declare function moveImageryLayersToStackIndex(viewer: CesiumViewer, imageryLayers: Cesium.ImageryLayer[], stackIndex: number, groupKey?: string, meta?: Partial<ImageryStackMeta>): void;
|
|
30
|
+
export declare function applyPrimitiveStackIndex(viewer: CesiumViewer, primitive: Cesium.Primitive | Cesium.Cesium3DTileset, stackIndex: number, meta?: Partial<PrimitiveStackMeta>): void;
|
|
31
|
+
export declare function addImageryLayerWithStackIndex(viewer: CesiumViewer, imageryLayer: Cesium.ImageryLayer, stackIndex: number, _typeBandBase?: number, meta?: Partial<ImageryStackMeta>): void;
|
|
32
|
+
export declare function addPrimitiveWithStackIndex(viewer: CesiumViewer, primitive: Cesium.Primitive | Cesium.Cesium3DTileset, stackIndex: number, _typeBandBase?: number, meta?: Partial<PrimitiveStackMeta>): void;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ZzTerrainExcavationConfigInput, ZzLngLatHeight, ZzTerrainExcavationConfig, ZzTerrainExcavationItem, ZzTerrainExcavationLimits } from './types';
|
|
2
|
+
import * as Cesium from 'cesium';
|
|
3
|
+
export declare const EXCAVATION_TRANSITION_DURATION = 260;
|
|
4
|
+
export declare const EXCAVATION_WALL_TEXTURE_TILE_WIDTH = 100;
|
|
5
|
+
export declare const EXCAVATION_MAX_SEGMENT_STEPS = 800;
|
|
6
|
+
export declare const EXCAVATION_MAX_BOUNDARY_POSITION_COUNT = 8000;
|
|
7
|
+
export declare const EXCAVATION_MAX_AREA: number;
|
|
8
|
+
export declare const EXCAVATION_MAX_PERIMETER: number;
|
|
9
|
+
export interface ExcavationBoundarySegment {
|
|
10
|
+
points: ZzLngLatHeight[];
|
|
11
|
+
}
|
|
12
|
+
export declare const defaultExcavationConfig: ZzTerrainExcavationConfig;
|
|
13
|
+
export declare const mergeExcavationConfig: (config?: ZzTerrainExcavationConfigInput) => ZzTerrainExcavationConfig;
|
|
14
|
+
export declare const toCesiumColor: (color: string, fallbackColor: string, opacity?: number) => Cesium.Color;
|
|
15
|
+
export declare const createPrimitiveMaterial: (texture: string | undefined, color: string, opacity: number, fallbackColor: string, repeat?: Cesium.Cartesian2) => Cesium.Material;
|
|
16
|
+
export declare const getWallPerimeter: (positions: Cesium.Cartesian3[]) => number;
|
|
17
|
+
export declare const resolveWallTextureRepeat: (texture: string | undefined, positions: Cesium.Cartesian3[]) => Cesium.Cartesian2 | undefined;
|
|
18
|
+
export declare const createTransitionEntity: (viewer: Cesium.Viewer, id: string, positions: Cesium.Cartesian3[], clampToGround?: boolean) => Cesium.Entity;
|
|
19
|
+
export declare const createOversizedAreaEntity: (viewer: Cesium.Viewer, positions: Cesium.Cartesian3[], clampToGround?: boolean) => Cesium.Entity;
|
|
20
|
+
export declare const waitForTransition: (duration?: number) => Promise<void>;
|
|
21
|
+
export declare const toCartesian: (point: ZzLngLatHeight, height?: number) => Cesium.Cartesian3;
|
|
22
|
+
export declare const toClipCartesian: (point: ZzLngLatHeight) => Cesium.Cartesian3;
|
|
23
|
+
export declare const isSameLngLat: (first: ZzLngLatHeight, second: ZzLngLatHeight) => boolean;
|
|
24
|
+
export declare const normalizePositions: (positions: ZzLngLatHeight[]) => ZzLngLatHeight[];
|
|
25
|
+
export declare const resolveAdaptiveSampleDistance: (segmentLength: number) => 5 | 10 | 20 | 50;
|
|
26
|
+
export declare const resolveBoundarySegmentSteps: (segmentLength: number) => number;
|
|
27
|
+
export declare const densifyBoundarySegments: (positions: ZzLngLatHeight[]) => ExcavationBoundarySegment[];
|
|
28
|
+
export declare const flattenBoundarySegments: (segments: ExcavationBoundarySegment[]) => ZzLngLatHeight[];
|
|
29
|
+
export declare const calculateBoundaryPerimeter: (positions: ZzLngLatHeight[]) => number;
|
|
30
|
+
export declare const calculateExcavationArea: (positions: ZzLngLatHeight[]) => number;
|
|
31
|
+
export declare const resolveExcavationRangeWarning: (positions: ZzLngLatHeight[], limits: ZzTerrainExcavationLimits) => string;
|
|
32
|
+
export declare const resolveExcavationLimitWarning: (boundaryPositions: ZzLngLatHeight[], limits: ZzTerrainExcavationLimits) => string;
|
|
33
|
+
export declare const splitBoundaryHeightsBySegments: (segments: ExcavationBoundarySegment[], heights: number[]) => number[][];
|
|
34
|
+
export declare const resolveBottomHeights: (surfaceHeights: number[], depth: number) => number[];
|
|
35
|
+
export declare const normalizeItem: (item: ZzTerrainExcavationItem, style: ZzTerrainExcavationConfig["globalStyle"], createId: () => string) => Required<ZzTerrainExcavationItem>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ZzTerrainExcavationConfigInput } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
config?: ZzTerrainExcavationConfigInput;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
6
|
+
addExcavation: (item: import('./types').ZzTerrainExcavationItem) => Promise<string | null>;
|
|
7
|
+
updateExcavation: (id: string, config: Partial<import('./types').ZzTerrainExcavationItem>) => Promise<boolean>;
|
|
8
|
+
removeExcavation: (id: string) => void;
|
|
9
|
+
clearExcavations: () => void;
|
|
10
|
+
getExcavationIds: () => string[];
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"excavation-ready": (...args: any[]) => void;
|
|
13
|
+
"excavation-updated": (...args: any[]) => void;
|
|
14
|
+
"excavation-removed": (...args: any[]) => void;
|
|
15
|
+
"excavation-cleared": (...args: any[]) => void;
|
|
16
|
+
"excavation-error": (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
"onExcavation-ready"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
"onExcavation-updated"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onExcavation-removed"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
"onExcavation-cleared"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
"onExcavation-error"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export interface ZzLngLatHeight {
|
|
2
|
+
lng: number;
|
|
3
|
+
lat: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface ZzTerrainExcavationStyleFields {
|
|
7
|
+
sideTexture?: string;
|
|
8
|
+
bottomTexture?: string;
|
|
9
|
+
sideColor: string;
|
|
10
|
+
bottomColor: string;
|
|
11
|
+
edgeColor: string;
|
|
12
|
+
sideOpacity: number;
|
|
13
|
+
bottomOpacity: number;
|
|
14
|
+
edgeOpacity: number;
|
|
15
|
+
edgeWidth: number;
|
|
16
|
+
showSide: boolean;
|
|
17
|
+
showBottom: boolean;
|
|
18
|
+
showEdge: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface ZzTerrainExcavationStyle extends ZzTerrainExcavationStyleFields {
|
|
21
|
+
show: boolean;
|
|
22
|
+
height: number;
|
|
23
|
+
}
|
|
24
|
+
export interface ZzTerrainExcavationLimits {
|
|
25
|
+
maxBoundaryPositionCount: number;
|
|
26
|
+
maxArea: number;
|
|
27
|
+
maxPerimeter: number;
|
|
28
|
+
}
|
|
29
|
+
export interface ZzTerrainExcavationItem extends Partial<ZzTerrainExcavationStyleFields> {
|
|
30
|
+
id?: string;
|
|
31
|
+
positions: ZzLngLatHeight[];
|
|
32
|
+
height?: number;
|
|
33
|
+
show?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface ZzTerrainExcavationConfig {
|
|
36
|
+
excavations: ZzTerrainExcavationItem[];
|
|
37
|
+
globalStyle: ZzTerrainExcavationStyle;
|
|
38
|
+
depthTestAgainstTerrain: boolean;
|
|
39
|
+
sampleTerrain: boolean;
|
|
40
|
+
enableTerrainClip: boolean;
|
|
41
|
+
autoClear: boolean;
|
|
42
|
+
limits: ZzTerrainExcavationLimits;
|
|
43
|
+
}
|
|
44
|
+
export type ZzTerrainExcavationConfigInput = Partial<Omit<ZzTerrainExcavationConfig, 'globalStyle' | 'limits'>> & {
|
|
45
|
+
globalStyle?: Partial<ZzTerrainExcavationStyle>;
|
|
46
|
+
limits?: Partial<ZzTerrainExcavationLimits>;
|
|
47
|
+
};
|
|
48
|
+
export interface ZzTerrainExcavationReadyPayload {
|
|
49
|
+
total: number;
|
|
50
|
+
excavationIds: string[];
|
|
51
|
+
methods: ZzTerrainExcavationMethods;
|
|
52
|
+
}
|
|
53
|
+
export interface ZzTerrainExcavationMethods {
|
|
54
|
+
addExcavation: (item: ZzTerrainExcavationItem) => Promise<string | null>;
|
|
55
|
+
updateExcavation: (id: string, config: Partial<ZzTerrainExcavationItem>) => Promise<boolean>;
|
|
56
|
+
removeExcavation: (id: string) => void;
|
|
57
|
+
clearExcavations: () => void;
|
|
58
|
+
getExcavationIds: () => string[];
|
|
59
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ZzTerrainExcavationConfig, ZzTerrainExcavationItem, ZzTerrainExcavationMethods } from './types';
|
|
2
|
+
import * as Cesium from 'cesium';
|
|
3
|
+
export { defaultExcavationConfig, mergeExcavationConfig } from './excavationUtils';
|
|
4
|
+
type EmitFn = (event: string, payload?: unknown) => void;
|
|
5
|
+
export declare const useTerrainExcavation: (getViewer: () => Cesium.Viewer | null | undefined, getConfig: () => ZzTerrainExcavationConfig, emit: EmitFn, getPublicMethods?: () => ZzTerrainExcavationMethods, waitForFormalRender?: () => Promise<void>) => {
|
|
6
|
+
syncExcavations: (options?: {
|
|
7
|
+
forceRebuild?: boolean;
|
|
8
|
+
}) => Promise<void>;
|
|
9
|
+
addExcavation: (item: ZzTerrainExcavationItem, options?: {
|
|
10
|
+
controlledByConfig?: boolean;
|
|
11
|
+
syncSignature?: string;
|
|
12
|
+
}) => Promise<string | null>;
|
|
13
|
+
updateExcavation: (id: string, config: Partial<ZzTerrainExcavationItem>, options?: {
|
|
14
|
+
controlledByConfig?: boolean;
|
|
15
|
+
syncSignature?: string;
|
|
16
|
+
}) => Promise<boolean>;
|
|
17
|
+
removeExcavation: (id: string) => void;
|
|
18
|
+
clearExcavations: () => void;
|
|
19
|
+
applyDepthTestAgainstTerrain: () => void;
|
|
20
|
+
restoreDepthTestAgainstTerrain: () => void;
|
|
21
|
+
getMethods: () => {
|
|
22
|
+
addExcavation: (item: ZzTerrainExcavationItem, options?: {
|
|
23
|
+
controlledByConfig?: boolean;
|
|
24
|
+
syncSignature?: string;
|
|
25
|
+
}) => Promise<string | null>;
|
|
26
|
+
updateExcavation: (id: string, config: Partial<ZzTerrainExcavationItem>, options?: {
|
|
27
|
+
controlledByConfig?: boolean;
|
|
28
|
+
syncSignature?: string;
|
|
29
|
+
}) => Promise<boolean>;
|
|
30
|
+
removeExcavation: (id: string) => void;
|
|
31
|
+
clearExcavations: () => void;
|
|
32
|
+
getExcavationIds: () => string[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "points-ready" | "point-updated" | "point-removed" | "flyTo-completed" | "point-error", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly config?: Record<string, any> | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "flyTo-completed" | "polygons-ready" | "polygon-updated" | "polygon-removed" | "polygon-error" | "bounds-updated", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly config?: Record<string, any> | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "flyTo-completed" | "lines-ready" | "line-updated" | "line-removed" | "line-error", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly config?: Record<string, any> | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
getDataSource: () => any;
|
|
3
|
+
getEntities: () => never[];
|
|
4
|
+
flyTo: typeof flyTo;
|
|
5
|
+
removeLayer: typeof removeLayer;
|
|
6
|
+
reload: typeof loadGeoJson;
|
|
7
|
+
setVisibility: typeof setVisibility;
|
|
8
|
+
$emit: (event: "loaded" | "error" | "updated" | "click", ...args: any[]) => void;
|
|
9
|
+
geojson: string | Record<string, any>;
|
|
10
|
+
name: string;
|
|
11
|
+
style: Record<string, any>;
|
|
12
|
+
show: boolean;
|
|
13
|
+
clampToGround: boolean;
|
|
14
|
+
token: string;
|
|
15
|
+
fitToLayer: boolean;
|
|
16
|
+
fitDuration: number;
|
|
17
|
+
layerZIndex: number;
|
|
18
|
+
styleByProperty: Record<string, any>;
|
|
19
|
+
note: Record<string, any>;
|
|
20
|
+
$props: {
|
|
21
|
+
readonly geojson?: string | Record<string, any> | undefined;
|
|
22
|
+
readonly name?: string | undefined;
|
|
23
|
+
readonly style?: Record<string, any> | undefined;
|
|
24
|
+
readonly show?: boolean | undefined;
|
|
25
|
+
readonly clampToGround?: boolean | undefined;
|
|
26
|
+
readonly token?: string | undefined;
|
|
27
|
+
readonly fitToLayer?: boolean | undefined;
|
|
28
|
+
readonly fitDuration?: number | undefined;
|
|
29
|
+
readonly layerZIndex?: number | undefined;
|
|
30
|
+
readonly styleByProperty?: Record<string, any> | undefined;
|
|
31
|
+
readonly note?: Record<string, any> | undefined;
|
|
32
|
+
};
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
export default _default;
|
|
35
|
+
declare function flyTo(duration?: number): Promise<boolean>;
|
|
36
|
+
declare function removeLayer(): void;
|
|
37
|
+
declare function loadGeoJson(): Promise<void>;
|
|
38
|
+
declare function setVisibility(visible: any): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "loaded", ...args: any[]) => void;
|
|
3
|
+
groupKey: string;
|
|
4
|
+
stackIndex: number;
|
|
5
|
+
subStackIndex: number;
|
|
6
|
+
provider: Record<string, any>;
|
|
7
|
+
options: Record<string, any>;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly groupKey?: string | undefined;
|
|
10
|
+
readonly stackIndex?: number | undefined;
|
|
11
|
+
readonly subStackIndex?: number | undefined;
|
|
12
|
+
readonly provider?: Record<string, any> | undefined;
|
|
13
|
+
readonly options?: Record<string, any> | undefined;
|
|
14
|
+
};
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
groupKey: string;
|
|
3
|
+
stackIndex: number;
|
|
4
|
+
subStackIndex: number;
|
|
5
|
+
provider: Record<string, any>;
|
|
6
|
+
options: Record<string, any>;
|
|
7
|
+
$props: {
|
|
8
|
+
readonly groupKey?: string | undefined;
|
|
9
|
+
readonly stackIndex?: number | undefined;
|
|
10
|
+
readonly subStackIndex?: number | undefined;
|
|
11
|
+
readonly provider?: Record<string, any> | undefined;
|
|
12
|
+
readonly options?: Record<string, any> | undefined;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
groupKey: string;
|
|
3
|
+
stackIndex: number;
|
|
4
|
+
subStackIndex: number;
|
|
5
|
+
provider: Record<string, any>;
|
|
6
|
+
options: Record<string, any>;
|
|
7
|
+
$props: {
|
|
8
|
+
readonly groupKey?: string | undefined;
|
|
9
|
+
readonly stackIndex?: number | undefined;
|
|
10
|
+
readonly subStackIndex?: number | undefined;
|
|
11
|
+
readonly provider?: Record<string, any> | undefined;
|
|
12
|
+
readonly options?: Record<string, any> | undefined;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
provider: Record<string, any>;
|
|
3
|
+
options: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly provider?: Record<string, any> | undefined;
|
|
6
|
+
readonly options?: Record<string, any> | undefined;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
groupKey: string;
|
|
3
|
+
stackIndex: number;
|
|
4
|
+
subStackIndex: number;
|
|
5
|
+
provider: Record<string, any>;
|
|
6
|
+
options: Record<string, any>;
|
|
7
|
+
$props: {
|
|
8
|
+
readonly groupKey?: string | undefined;
|
|
9
|
+
readonly stackIndex?: number | undefined;
|
|
10
|
+
readonly subStackIndex?: number | undefined;
|
|
11
|
+
readonly provider?: Record<string, any> | undefined;
|
|
12
|
+
readonly options?: Record<string, any> | undefined;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function initEntity(options: any): Promise<any>;
|
|
2
|
+
export function initEntityStatic(options: any): Promise<any>;
|
|
3
|
+
export function removeEntity(id: any): void;
|
|
4
|
+
export function removeEntityNotDes(id: any): void;
|
|
5
|
+
export function removeAllEntities(): void;
|
|
6
|
+
export function getEntityLayer(id: any): any;
|
|
7
|
+
export let currentNewLevels: import('vue').ComputedRef<any>;
|
|
8
|
+
export const entityGridManager: EntityGridManager;
|
|
9
|
+
declare class EntityGridManager {
|
|
10
|
+
layers: Map<any, any>;
|
|
11
|
+
createLayer(options: any): Promise<any>;
|
|
12
|
+
removeLayer(id: any): void;
|
|
13
|
+
removeAllLayers(): void;
|
|
14
|
+
getLayer(id: any): any;
|
|
15
|
+
getLayerIds(): any[];
|
|
16
|
+
removeTilesByLayerId(id: any): void;
|
|
17
|
+
refreshLayer(id: any): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function initEntity(options: any): Promise<any>;
|
|
2
|
+
export function initEntityStatic(options: any): Promise<any>;
|
|
3
|
+
export function removeEntity(id: any): void;
|
|
4
|
+
export function removeEntityNotDes(id: any): void;
|
|
5
|
+
export function removeAllEntities(): void;
|
|
6
|
+
export function getEntityLayer(id: any): any;
|
|
7
|
+
export let currentNewLevels: import('vue').ComputedRef<any>;
|
|
8
|
+
export const entityGridManager: EntityGridManager;
|
|
9
|
+
declare class EntityGridManager {
|
|
10
|
+
layers: Map<any, any>;
|
|
11
|
+
createLayer(options: any): Promise<any>;
|
|
12
|
+
removeLayer(id: any): void;
|
|
13
|
+
removeAllLayers(): void;
|
|
14
|
+
getLayer(id: any): any;
|
|
15
|
+
getLayerIds(): any[];
|
|
16
|
+
removeTilesByLayerId(id: any): void;
|
|
17
|
+
refreshLayer(id: any): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function initEntity(options: any): Promise<any>;
|
|
2
|
+
export function initEntityStatic(options: any): Promise<any>;
|
|
3
|
+
export function removeEntity(id: any): void;
|
|
4
|
+
export function removeEntityNotDes(id: any): void;
|
|
5
|
+
export function removeAllEntities(): void;
|
|
6
|
+
export function getEntityLayer(id: any): any;
|
|
7
|
+
export let currentNewLevels: import('vue').ComputedRef<any>;
|
|
8
|
+
export const entityGridManager: EntityGridManager;
|
|
9
|
+
declare class EntityGridManager {
|
|
10
|
+
layers: Map<any, any>;
|
|
11
|
+
createLayer(options: any): any;
|
|
12
|
+
removeLayer(id: any): void;
|
|
13
|
+
removeAllLayers(): void;
|
|
14
|
+
getLayer(id: any): any;
|
|
15
|
+
getLayerIds(): any[];
|
|
16
|
+
removeTilesByLayerId(id: any): void;
|
|
17
|
+
refreshLayer(id: any): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
groupKey: string;
|
|
3
|
+
stackIndex: number;
|
|
4
|
+
subStackIndex: number;
|
|
5
|
+
config: Record<string, any>;
|
|
6
|
+
$props: {
|
|
7
|
+
readonly groupKey?: string | undefined;
|
|
8
|
+
readonly stackIndex?: number | undefined;
|
|
9
|
+
readonly subStackIndex?: number | undefined;
|
|
10
|
+
readonly config?: Record<string, any> | undefined;
|
|
11
|
+
};
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
config: Record<string, any>;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly config?: Record<string, any> | undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "point-click", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly config?: Record<string, any> | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
config: Record<string, any>;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly config?: Record<string, any> | undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "grid-change", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
style: Record<string, any>;
|
|
5
|
+
$props: {
|
|
6
|
+
readonly config?: Record<string, any> | undefined;
|
|
7
|
+
readonly style?: Record<string, any> | undefined;
|
|
8
|
+
};
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function initEntity(options: any): Promise<any>;
|
|
2
|
+
export function initEntityStatic(options: any): Promise<any>;
|
|
3
|
+
export function removeEntity(id: any): void;
|
|
4
|
+
export function removeEntityNotDes(id: any): void;
|
|
5
|
+
export function removeAllEntities(): void;
|
|
6
|
+
export function getEntityLayer(id: any): any;
|
|
7
|
+
export let currentNewLevels: import('vue').ComputedRef<any>;
|
|
8
|
+
export const entityGridManager: EntityGridManager;
|
|
9
|
+
declare class EntityGridManager {
|
|
10
|
+
layers: Map<any, any>;
|
|
11
|
+
createLayer(options: any): Promise<any>;
|
|
12
|
+
removeLayer(id: any): void;
|
|
13
|
+
removeAllLayers(): void;
|
|
14
|
+
getLayer(id: any): any;
|
|
15
|
+
getLayerIds(): any[];
|
|
16
|
+
removeTilesByLayerId(id: any): void;
|
|
17
|
+
refreshLayer(id: any): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "point-click", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly config?: Record<string, any> | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function getPointTileRequestLevel(geoSot: any, fallbackLevel: any): number;
|
|
2
|
+
export function parsePointTileGeometries(tileData: any, lodLevel: any): {
|
|
3
|
+
positions: Float64Array<ArrayBuffer>;
|
|
4
|
+
positionCount: number;
|
|
5
|
+
modelId: string;
|
|
6
|
+
lodLevel: any;
|
|
7
|
+
}[];
|
|
8
|
+
export function isPointLayerRequestActive({ destroyed, currentVersion, requestVersion, cancelToken, }?: {}): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "stats-change", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
style: Record<string, any>;
|
|
5
|
+
$props: {
|
|
6
|
+
readonly config?: Record<string, any> | undefined;
|
|
7
|
+
readonly style?: Record<string, any> | undefined;
|
|
8
|
+
};
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export interface LegendPanelItem {
|
|
2
|
+
label?: string;
|
|
3
|
+
value?: string | number;
|
|
4
|
+
valueName?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
r?: number;
|
|
7
|
+
g?: number;
|
|
8
|
+
b?: number;
|
|
9
|
+
a?: number;
|
|
10
|
+
type?: 'point' | 'line' | 'polygon' | 'range' | 'icon';
|
|
11
|
+
min?: number;
|
|
12
|
+
max?: number;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
export interface MultibandLegendData {
|
|
16
|
+
MultibandValueNameTop?: string;
|
|
17
|
+
MultibandValueNameBot?: string;
|
|
18
|
+
colorBand?: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface LegendPanelData {
|
|
21
|
+
styleType?: 'multiband' | 'classified' | 'unique' | 'point' | 'line' | 'polygon' | string;
|
|
22
|
+
serviceName?: string;
|
|
23
|
+
ColorListLenList?: MultibandLegendData | LegendPanelItem[];
|
|
24
|
+
colorList?: {
|
|
25
|
+
point?: {
|
|
26
|
+
fill?: string;
|
|
27
|
+
stroke?: {
|
|
28
|
+
visible?: boolean;
|
|
29
|
+
type?: string;
|
|
30
|
+
outlineColor?: string;
|
|
31
|
+
color?: string;
|
|
32
|
+
outlineWidth?: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
line?: {
|
|
36
|
+
stroke?: {
|
|
37
|
+
visible?: boolean;
|
|
38
|
+
type?: string;
|
|
39
|
+
outlineColor?: string;
|
|
40
|
+
color?: string;
|
|
41
|
+
outlineWidth?: number;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
polygon?: {
|
|
45
|
+
fill?: string;
|
|
46
|
+
stroke?: {
|
|
47
|
+
visible?: boolean;
|
|
48
|
+
type?: string;
|
|
49
|
+
outlineColor?: string;
|
|
50
|
+
color?: string;
|
|
51
|
+
outlineWidth?: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
type __VLS_Props = {
|
|
57
|
+
visible: boolean;
|
|
58
|
+
title?: string;
|
|
59
|
+
items?: LegendPanelItem[];
|
|
60
|
+
legendData?: LegendPanelData | string | null;
|
|
61
|
+
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
62
|
+
};
|
|
63
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
64
|
+
"update:visible": (value: boolean) => any;
|
|
65
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
66
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
67
|
+
}>, {
|
|
68
|
+
title: string;
|
|
69
|
+
items: LegendPanelItem[];
|
|
70
|
+
legendData: LegendPanelData | string | null;
|
|
71
|
+
position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
72
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
73
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: ((...args: any[]) => any) | ((evt: string, ...args: any) => void);
|
|
3
|
+
groupKey: string;
|
|
4
|
+
stackIndex: number;
|
|
5
|
+
subStackIndex: number;
|
|
6
|
+
config: Record<string, any>;
|
|
7
|
+
$props: {
|
|
8
|
+
readonly groupKey?: string | undefined;
|
|
9
|
+
readonly stackIndex?: number | undefined;
|
|
10
|
+
readonly subStackIndex?: number | undefined;
|
|
11
|
+
readonly config?: Record<string, any> | undefined;
|
|
12
|
+
};
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "model-ready" | "model-error", ...args: any[]) => void;
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly config?: Record<string, any> | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: ((...args: any[]) => any) | ((evt: string, ...args: any) => void);
|
|
3
|
+
config: Record<string, any>;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly config?: Record<string, any> | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|