sat-earth 3.0.7 → 3.0.9
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/dts/components/analysis-spatial/modules/contourLine/ContourLine.vue.d.ts +2 -0
- package/dist/dts/components/analysis-spatial/modules/contourLine/index.d.ts +3 -0
- package/dist/dts/components/analysis-spatial/modules/slope/Slope.vue.d.ts +2 -0
- package/dist/dts/components/analysis-spatial/modules/slope/index.d.ts +3 -0
- package/dist/dts/components/location/SatLocation.vue.d.ts +2 -0
- package/dist/dts/components/location/SatLocationMain.vue.d.ts +11 -1
- package/dist/dts/components/location/index.d.ts +2 -0
- package/dist/dts/types/global.d.ts +2 -2
- package/dist/dts/utils/map/analysis-spatial/contourLine.d.ts +18 -0
- package/dist/dts/utils/map/analysis-spatial/index.d.ts +4 -0
- package/dist/dts/utils/map/analysis-spatial/slope.d.ts +20 -0
- package/dist/dts/utils/types/index.d.ts +7 -9
- package/dist/sat-earth.mjs +3543 -2931
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
default?(_: {}): any;
|
|
3
|
+
poi?(_: {}): any;
|
|
4
|
+
path?(_: {}): any;
|
|
3
5
|
};
|
|
4
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
7
|
initHooks: () => void;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
poi?(_: {}): any;
|
|
3
|
+
path?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
7
|
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -30,6 +30,8 @@ declare const SatLocation: import('../../utils/installer').SFCWithInstall<{
|
|
|
30
30
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
31
31
|
$slots: {
|
|
32
32
|
default?(_: {}): any;
|
|
33
|
+
poi?(_: {}): any;
|
|
34
|
+
path?(_: {}): any;
|
|
33
35
|
};
|
|
34
36
|
})>;
|
|
35
37
|
export { SatLocationSFC, SatLocation, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as TurfType from '@turf/turf'
|
|
2
|
-
import type * as
|
|
2
|
+
import type * as Mars3dType from 'mars3d'
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
|
-
const Cesium: typeof
|
|
5
|
+
const Cesium: typeof Mars3dType.Cesium
|
|
6
6
|
const turf: typeof TurfType
|
|
7
7
|
interface Window {
|
|
8
8
|
Cesium: typeof Cesium
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SatMap } from '..';
|
|
2
|
+
import { layer, thing } from 'mars3d';
|
|
3
|
+
|
|
4
|
+
export declare class ContourLine {
|
|
5
|
+
#private;
|
|
6
|
+
graphicLayer: layer.GraphicLayer | undefined;
|
|
7
|
+
contourLine: thing.ContourLine | undefined;
|
|
8
|
+
drawPositions: any;
|
|
9
|
+
constructor(satMap: SatMap);
|
|
10
|
+
drawExtents(options: Record<string, any>): void;
|
|
11
|
+
drawPoligon(options: Record<string, any>): void;
|
|
12
|
+
changeShadingType(type: 'none' | 'elevation' | 'slope' | 'aspect'): void;
|
|
13
|
+
changeColor(val: string): void;
|
|
14
|
+
changeLineWidth(val?: number): void;
|
|
15
|
+
changeGap(val?: number): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
destroy(): void;
|
|
18
|
+
}
|
|
@@ -4,6 +4,8 @@ import { Volume } from './volume';
|
|
|
4
4
|
import { Intervisibility } from './intervisibility';
|
|
5
5
|
import { Viewshed } from './viewshed';
|
|
6
6
|
import { Flood } from './flood';
|
|
7
|
+
import { Slope } from './slope';
|
|
8
|
+
import { ContourLine } from './contourLine';
|
|
7
9
|
|
|
8
10
|
export declare class SpatialAnalysis {
|
|
9
11
|
section: Section;
|
|
@@ -11,5 +13,7 @@ export declare class SpatialAnalysis {
|
|
|
11
13
|
intervisibility: Intervisibility;
|
|
12
14
|
viewshed: Viewshed;
|
|
13
15
|
flood: Flood;
|
|
16
|
+
contourLine: ContourLine;
|
|
17
|
+
slope: Slope;
|
|
14
18
|
constructor(satMap: SatMap);
|
|
15
19
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { layer, thing } from 'mars3d';
|
|
2
|
+
import { SatMap } from '..';
|
|
3
|
+
|
|
4
|
+
export declare class Slope {
|
|
5
|
+
#private;
|
|
6
|
+
graphicLayer: layer.GraphicLayer | undefined;
|
|
7
|
+
slope: thing.Slope | undefined;
|
|
8
|
+
contourLine: thing.ContourLine | undefined;
|
|
9
|
+
drawPositions: any;
|
|
10
|
+
constructor(satMap: SatMap);
|
|
11
|
+
drawExtents(options: {
|
|
12
|
+
splitNum: number;
|
|
13
|
+
}): void;
|
|
14
|
+
drawPoligon(options: {
|
|
15
|
+
splitNum: number;
|
|
16
|
+
}): void;
|
|
17
|
+
changeShadingType(type: 'none' | 'elevation' | 'slope' | 'aspect'): void;
|
|
18
|
+
clear(): void;
|
|
19
|
+
destroy(): void;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Map as Mars3dMap, graphic,
|
|
1
|
+
import { Map as Mars3dMap, graphic, GraphicType, Cesium } from 'mars3d';
|
|
2
2
|
import { plotSource, plotStyleConfig } from 'sat-earth-resources';
|
|
3
3
|
|
|
4
4
|
export type SatLayer = Mars3dMap.layerOptions & {
|
|
@@ -44,16 +44,14 @@ export type MarsFlyToOptions = {
|
|
|
44
44
|
export type MarsMapOptions = {
|
|
45
45
|
map3d?: {
|
|
46
46
|
scene?: Mars3dMap.sceneOptions;
|
|
47
|
-
control?: SatMapControl;
|
|
48
|
-
mouse?: Mars3dMap.mouseOptions;
|
|
49
|
-
effect?: Mars3dMap.effectOptions;
|
|
50
|
-
token?: Mars3dMap.tokenOptions;
|
|
51
|
-
basemaps?: SatLayer[];
|
|
52
47
|
terrain?: Mars3dMap.terrainOptions;
|
|
48
|
+
basemaps?: SatLayer[];
|
|
53
49
|
layers?: Mars3dMap.layerOptions[];
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
control?: SatMapControl;
|
|
51
|
+
effect?: Mars3dMap.effectOptions;
|
|
52
|
+
thing?: Mars3dMap.thingOptions;
|
|
53
|
+
mouse?: Mars3dMap.mouseOptions;
|
|
54
|
+
method?: Mars3dMap.methodOptions;
|
|
57
55
|
};
|
|
58
56
|
};
|
|
59
57
|
export type SatMapOptions = {
|