@songcf/fy-map 1.0.0
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/README.md +5 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.vue.d.ts +4 -0
- package/dist/components/FyCircle/index.d.ts +2 -0
- package/dist/components/FyCircle/index.vue.d.ts +112 -0
- package/dist/components/FyClusterMarker/index.d.ts +2 -0
- package/dist/components/FyClusterMarker/index.vue.d.ts +129 -0
- package/dist/components/FyDrawCircle/index.d.ts +2 -0
- package/dist/components/FyDrawCircle/index.vue.d.ts +76 -0
- package/dist/components/FyDrawLine/index.d.ts +2 -0
- package/dist/components/FyDrawLine/index.vue.d.ts +72 -0
- package/dist/components/FyDrawPoint/index.d.ts +2 -0
- package/dist/components/FyDrawPoint/index.vue.d.ts +67 -0
- package/dist/components/FyDrawPolygon/index.d.ts +2 -0
- package/dist/components/FyDrawPolygon/index.vue.d.ts +75 -0
- package/dist/components/FyDrawTool/index.d.ts +2 -0
- package/dist/components/FyDrawTool/index.vue.d.ts +102 -0
- package/dist/components/FyLabel/index.d.ts +2 -0
- package/dist/components/FyLabel/index.vue.d.ts +112 -0
- package/dist/components/FyLineString/index.d.ts +2 -0
- package/dist/components/FyLineString/index.vue.d.ts +105 -0
- package/dist/components/FyMap/index.d.ts +2 -0
- package/dist/components/FyMap/index.vue.d.ts +69 -0
- package/dist/components/FyMarker/index.d.ts +2 -0
- package/dist/components/FyMarker/index.vue.d.ts +105 -0
- package/dist/components/FyPoint/index.d.ts +2 -0
- package/dist/components/FyPoint/index.vue.d.ts +98 -0
- package/dist/components/FyPolygon/index.d.ts +2 -0
- package/dist/components/FyPolygon/index.vue.d.ts +98 -0
- package/dist/components/FyPopup/index.d.ts +2 -0
- package/dist/components/FyPopup/index.vue.d.ts +114 -0
- package/dist/components/FyTileLayer/index.d.ts +2 -0
- package/dist/components/FyTileLayer/index.vue.d.ts +83 -0
- package/dist/components/FyVectorLayer/index.d.ts +2 -0
- package/dist/components/FyVectorLayer/index.vue.d.ts +89 -0
- package/dist/components/index.d.ts +20 -0
- package/dist/fy-map.css +623 -0
- package/dist/fy-map.es.js +3769 -0
- package/dist/fy-map.es.js.map +1 -0
- package/dist/fy-map.umd.js +4415 -0
- package/dist/fy-map.umd.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/package.json +48 -0
package/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Vue 3 + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace coordinates {
|
|
6
|
+
const type: ArrayConstructor;
|
|
7
|
+
const required: boolean;
|
|
8
|
+
}
|
|
9
|
+
namespace radius {
|
|
10
|
+
const type_1: NumberConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
const required_1: boolean;
|
|
13
|
+
export { required_1 as required };
|
|
14
|
+
}
|
|
15
|
+
namespace layerId {
|
|
16
|
+
const type_2: StringConstructor;
|
|
17
|
+
export { type_2 as type };
|
|
18
|
+
const _default: string;
|
|
19
|
+
export { _default as default };
|
|
20
|
+
}
|
|
21
|
+
namespace symbol {
|
|
22
|
+
const type_3: ObjectConstructor;
|
|
23
|
+
export { type_3 as type };
|
|
24
|
+
function _default_1(): {
|
|
25
|
+
lineColor: string;
|
|
26
|
+
lineWidth: number;
|
|
27
|
+
lineOpacity: number;
|
|
28
|
+
polygonFill: string;
|
|
29
|
+
polygonOpacity: number;
|
|
30
|
+
};
|
|
31
|
+
export { _default_1 as default };
|
|
32
|
+
}
|
|
33
|
+
namespace opacity {
|
|
34
|
+
const type_4: NumberConstructor;
|
|
35
|
+
export { type_4 as type };
|
|
36
|
+
const _default_2: number;
|
|
37
|
+
export { _default_2 as default };
|
|
38
|
+
}
|
|
39
|
+
namespace visible {
|
|
40
|
+
const type_5: BooleanConstructor;
|
|
41
|
+
export { type_5 as type };
|
|
42
|
+
const _default_3: boolean;
|
|
43
|
+
export { _default_3 as default };
|
|
44
|
+
}
|
|
45
|
+
namespace zIndex {
|
|
46
|
+
const type_6: NumberConstructor;
|
|
47
|
+
export { type_6 as type };
|
|
48
|
+
const _default_4: number;
|
|
49
|
+
export { _default_4 as default };
|
|
50
|
+
}
|
|
51
|
+
namespace numberOfPoints {
|
|
52
|
+
const type_7: NumberConstructor;
|
|
53
|
+
export { type_7 as type };
|
|
54
|
+
const _default_5: number;
|
|
55
|
+
export { _default_5 as default };
|
|
56
|
+
}
|
|
57
|
+
namespace properties {
|
|
58
|
+
const type_8: ObjectConstructor;
|
|
59
|
+
export { type_8 as type };
|
|
60
|
+
function _default_6(): {};
|
|
61
|
+
export { _default_6 as default };
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function data(): {
|
|
65
|
+
layer: null;
|
|
66
|
+
circle: null;
|
|
67
|
+
};
|
|
68
|
+
namespace inject {
|
|
69
|
+
namespace mapInstance {
|
|
70
|
+
const _default_7: null;
|
|
71
|
+
export { _default_7 as default };
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
function mounted(): void;
|
|
75
|
+
function beforeDestroy(): void;
|
|
76
|
+
namespace methods {
|
|
77
|
+
function initCircle(): void;
|
|
78
|
+
function removeCircle(): void;
|
|
79
|
+
function handleClick(e: any): void;
|
|
80
|
+
function handleMouseover(e: any): void;
|
|
81
|
+
function handleMouseout(e: any): void;
|
|
82
|
+
function handleDblClick(e: any): void;
|
|
83
|
+
function handleMouseDown(e: any): void;
|
|
84
|
+
function handleMouseUp(e: any): void;
|
|
85
|
+
function setCoordinates(coordinates: any): void;
|
|
86
|
+
function setRadius(radius: any): void;
|
|
87
|
+
function setSymbol(symbol: any): void;
|
|
88
|
+
function setOpacity(opacity: any): void;
|
|
89
|
+
function show(): void;
|
|
90
|
+
function hide(): void;
|
|
91
|
+
function getRadius(): any;
|
|
92
|
+
function getArea(): any;
|
|
93
|
+
function getLength(): number;
|
|
94
|
+
function getCoordinates(): any;
|
|
95
|
+
function getCenter(): any;
|
|
96
|
+
function getExtent(): any;
|
|
97
|
+
function getBounds(): any;
|
|
98
|
+
function getCircle(): any;
|
|
99
|
+
function getLayer(): any;
|
|
100
|
+
}
|
|
101
|
+
namespace watch {
|
|
102
|
+
export function coordinates(newVal: any): void;
|
|
103
|
+
export function radius(newVal: any): void;
|
|
104
|
+
export namespace symbol_1 {
|
|
105
|
+
function handler(newVal: any): void;
|
|
106
|
+
const deep: boolean;
|
|
107
|
+
}
|
|
108
|
+
export { symbol_1 as symbol };
|
|
109
|
+
export function opacity(newVal: any): void;
|
|
110
|
+
export function visible(newVal: any): void;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace markers {
|
|
6
|
+
export const type: ArrayConstructor;
|
|
7
|
+
function _default(): never[];
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace id {
|
|
11
|
+
const type_1: StringConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
const _default_1: string;
|
|
14
|
+
export { _default_1 as default };
|
|
15
|
+
}
|
|
16
|
+
namespace maxZoom {
|
|
17
|
+
const type_2: NumberConstructor;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
const _default_2: number;
|
|
20
|
+
export { _default_2 as default };
|
|
21
|
+
}
|
|
22
|
+
namespace showText {
|
|
23
|
+
const type_3: BooleanConstructor;
|
|
24
|
+
export { type_3 as type };
|
|
25
|
+
const _default_3: boolean;
|
|
26
|
+
export { _default_3 as default };
|
|
27
|
+
}
|
|
28
|
+
namespace clusterStyle {
|
|
29
|
+
const type_4: ObjectConstructor;
|
|
30
|
+
export { type_4 as type };
|
|
31
|
+
function _default_4(): {
|
|
32
|
+
symbol: {
|
|
33
|
+
markerType: string;
|
|
34
|
+
markerFill: string;
|
|
35
|
+
markerFillOpacity: number;
|
|
36
|
+
markerLineColor: string;
|
|
37
|
+
markerLineWidth: number;
|
|
38
|
+
markerLineOpacity: number;
|
|
39
|
+
};
|
|
40
|
+
textSize: number;
|
|
41
|
+
textFill: string;
|
|
42
|
+
};
|
|
43
|
+
export { _default_4 as default };
|
|
44
|
+
}
|
|
45
|
+
namespace markerStyle {
|
|
46
|
+
const type_5: ObjectConstructor;
|
|
47
|
+
export { type_5 as type };
|
|
48
|
+
function _default_5(): {
|
|
49
|
+
symbol: {
|
|
50
|
+
markerType: string;
|
|
51
|
+
markerFill: string;
|
|
52
|
+
markerFillOpacity: number;
|
|
53
|
+
markerLineColor: string;
|
|
54
|
+
markerLineWidth: number;
|
|
55
|
+
markerLineOpacity: number;
|
|
56
|
+
markerWidth: number;
|
|
57
|
+
markerHeight: number;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export { _default_5 as default };
|
|
61
|
+
}
|
|
62
|
+
namespace visible {
|
|
63
|
+
const type_6: BooleanConstructor;
|
|
64
|
+
export { type_6 as type };
|
|
65
|
+
const _default_6: boolean;
|
|
66
|
+
export { _default_6 as default };
|
|
67
|
+
}
|
|
68
|
+
namespace opacity {
|
|
69
|
+
const type_7: NumberConstructor;
|
|
70
|
+
export { type_7 as type };
|
|
71
|
+
const _default_7: number;
|
|
72
|
+
export { _default_7 as default };
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function data(): {
|
|
76
|
+
layer: null;
|
|
77
|
+
clusterMarkers: never[];
|
|
78
|
+
};
|
|
79
|
+
namespace inject {
|
|
80
|
+
namespace mapInstance {
|
|
81
|
+
const _default_8: null;
|
|
82
|
+
export { _default_8 as default };
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function mounted(): void;
|
|
86
|
+
function beforeDestroy(): void;
|
|
87
|
+
namespace methods {
|
|
88
|
+
function initClusterLayer(): void;
|
|
89
|
+
function updateClusterMarkers(): void;
|
|
90
|
+
function getClusterSymbol(): {
|
|
91
|
+
markerType: string;
|
|
92
|
+
markerFill: string;
|
|
93
|
+
markerFillOpacity: number;
|
|
94
|
+
markerLineColor: string;
|
|
95
|
+
markerLineWidth: number;
|
|
96
|
+
markerLineOpacity: number;
|
|
97
|
+
textFaceName: string;
|
|
98
|
+
textName: string;
|
|
99
|
+
textFill: string;
|
|
100
|
+
textSize: number;
|
|
101
|
+
textWeight: string;
|
|
102
|
+
};
|
|
103
|
+
function setupClusterEvents(): void;
|
|
104
|
+
function handleClick(e: any): void;
|
|
105
|
+
function handleClusterClick(e: any): void;
|
|
106
|
+
function handleClusterMouseover(e: any): void;
|
|
107
|
+
function handleClusterMouseout(e: any): void;
|
|
108
|
+
function clearClusterMarkers(): void;
|
|
109
|
+
function removeClusterLayer(): void;
|
|
110
|
+
function addMarker(markerData: any): void;
|
|
111
|
+
function addMarkers(markerDataArray: any): void;
|
|
112
|
+
function removeMarker(markerId: any): void;
|
|
113
|
+
function clearMarkers(): void;
|
|
114
|
+
function show(): void;
|
|
115
|
+
function hide(): void;
|
|
116
|
+
function setOpacity(opacity: any): void;
|
|
117
|
+
function getLayer(): any;
|
|
118
|
+
function getCluster(): any;
|
|
119
|
+
}
|
|
120
|
+
namespace watch {
|
|
121
|
+
export namespace markers_1 {
|
|
122
|
+
function handler(): void;
|
|
123
|
+
const deep: boolean;
|
|
124
|
+
}
|
|
125
|
+
export { markers_1 as markers };
|
|
126
|
+
export function visible(newVal: any): void;
|
|
127
|
+
export function opacity(newVal: any): void;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace layerId {
|
|
6
|
+
export const type: StringConstructor;
|
|
7
|
+
const _default: string;
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace symbol {
|
|
11
|
+
const type_1: ObjectConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
function _default_1(): {
|
|
14
|
+
lineColor: string;
|
|
15
|
+
lineWidth: number;
|
|
16
|
+
lineOpacity: number;
|
|
17
|
+
polygonFill: string;
|
|
18
|
+
polygonOpacity: number;
|
|
19
|
+
};
|
|
20
|
+
export { _default_1 as default };
|
|
21
|
+
}
|
|
22
|
+
namespace autoStart {
|
|
23
|
+
const type_2: BooleanConstructor;
|
|
24
|
+
export { type_2 as type };
|
|
25
|
+
const _default_2: boolean;
|
|
26
|
+
export { _default_2 as default };
|
|
27
|
+
}
|
|
28
|
+
namespace showLabels {
|
|
29
|
+
const type_3: BooleanConstructor;
|
|
30
|
+
export { type_3 as type };
|
|
31
|
+
const _default_3: boolean;
|
|
32
|
+
export { _default_3 as default };
|
|
33
|
+
}
|
|
34
|
+
namespace showTooltip {
|
|
35
|
+
const type_4: BooleanConstructor;
|
|
36
|
+
export { type_4 as type };
|
|
37
|
+
const _default_4: boolean;
|
|
38
|
+
export { _default_4 as default };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function data(): {
|
|
42
|
+
layer: null;
|
|
43
|
+
drawTool: null;
|
|
44
|
+
circles: never[];
|
|
45
|
+
};
|
|
46
|
+
namespace inject {
|
|
47
|
+
namespace mapInstance {
|
|
48
|
+
const _default_5: null;
|
|
49
|
+
export { _default_5 as default };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function mounted(): void;
|
|
53
|
+
function beforeDestroy(): void;
|
|
54
|
+
namespace methods {
|
|
55
|
+
function initDrawCircle(): void;
|
|
56
|
+
function bindDrawToolEvents(): void;
|
|
57
|
+
function handleDrawStart(param: any): void;
|
|
58
|
+
function handleDrawEnd(param: any): void;
|
|
59
|
+
function handleDisable(): void;
|
|
60
|
+
function calculateRadius(circle: any): any;
|
|
61
|
+
function calculateArea(circle: any): any;
|
|
62
|
+
function calculatePerimeter(circle: any): number;
|
|
63
|
+
function addCircleLabels(circle: any, radius: any, area: any): void;
|
|
64
|
+
function formatDistance(distance: any): string;
|
|
65
|
+
function formatArea(area: any): string;
|
|
66
|
+
function enable(): void;
|
|
67
|
+
function disable(): void;
|
|
68
|
+
function getCircles(): any;
|
|
69
|
+
function clear(): void;
|
|
70
|
+
function addCircle(center: any, radius: any): void;
|
|
71
|
+
function removeCircle(index: any): void;
|
|
72
|
+
function setSymbol(symbol: any): void;
|
|
73
|
+
function getDrawTool(): any;
|
|
74
|
+
function getLayer(): any;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace layerId {
|
|
6
|
+
export const type: StringConstructor;
|
|
7
|
+
const _default: string;
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace symbol {
|
|
11
|
+
const type_1: ObjectConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
function _default_1(): {
|
|
14
|
+
lineColor: string;
|
|
15
|
+
lineWidth: number;
|
|
16
|
+
lineOpacity: number;
|
|
17
|
+
lineDasharray: never[];
|
|
18
|
+
};
|
|
19
|
+
export { _default_1 as default };
|
|
20
|
+
}
|
|
21
|
+
namespace autoStart {
|
|
22
|
+
const type_2: BooleanConstructor;
|
|
23
|
+
export { type_2 as type };
|
|
24
|
+
const _default_2: boolean;
|
|
25
|
+
export { _default_2 as default };
|
|
26
|
+
}
|
|
27
|
+
namespace showDistance {
|
|
28
|
+
const type_3: BooleanConstructor;
|
|
29
|
+
export { type_3 as type };
|
|
30
|
+
const _default_3: boolean;
|
|
31
|
+
export { _default_3 as default };
|
|
32
|
+
}
|
|
33
|
+
namespace showTooltip {
|
|
34
|
+
const type_4: BooleanConstructor;
|
|
35
|
+
export { type_4 as type };
|
|
36
|
+
const _default_4: boolean;
|
|
37
|
+
export { _default_4 as default };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function data(): {
|
|
41
|
+
layer: null;
|
|
42
|
+
drawTool: null;
|
|
43
|
+
lines: never[];
|
|
44
|
+
};
|
|
45
|
+
namespace inject {
|
|
46
|
+
namespace mapInstance {
|
|
47
|
+
const _default_5: null;
|
|
48
|
+
export { _default_5 as default };
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function mounted(): void;
|
|
52
|
+
function beforeDestroy(): void;
|
|
53
|
+
namespace methods {
|
|
54
|
+
function initDrawLine(): void;
|
|
55
|
+
function bindDrawToolEvents(): void;
|
|
56
|
+
function handleDrawStart(param: any): void;
|
|
57
|
+
function handleDrawEnd(param: any): void;
|
|
58
|
+
function handleDisable(): void;
|
|
59
|
+
function calculateDistance(coordinates: any): number;
|
|
60
|
+
function addDistanceLabel(line: any, distance: any): void;
|
|
61
|
+
function formatDistance(distance: any): string;
|
|
62
|
+
function enable(): void;
|
|
63
|
+
function disable(): void;
|
|
64
|
+
function getLines(): any;
|
|
65
|
+
function clear(): void;
|
|
66
|
+
function addLine(coordinates: any): void;
|
|
67
|
+
function removeLine(index: any): void;
|
|
68
|
+
function setSymbol(symbol: any): void;
|
|
69
|
+
function getDrawTool(): any;
|
|
70
|
+
function getLayer(): any;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace layerId {
|
|
6
|
+
export const type: StringConstructor;
|
|
7
|
+
const _default: string;
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace symbol {
|
|
11
|
+
const type_1: ObjectConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
function _default_1(): {
|
|
14
|
+
markerType: string;
|
|
15
|
+
markerFill: string;
|
|
16
|
+
markerFillOpacity: number;
|
|
17
|
+
markerLineColor: string;
|
|
18
|
+
markerLineWidth: number;
|
|
19
|
+
markerLineOpacity: number;
|
|
20
|
+
markerWidth: number;
|
|
21
|
+
markerHeight: number;
|
|
22
|
+
};
|
|
23
|
+
export { _default_1 as default };
|
|
24
|
+
}
|
|
25
|
+
namespace autoStart {
|
|
26
|
+
const type_2: BooleanConstructor;
|
|
27
|
+
export { type_2 as type };
|
|
28
|
+
const _default_2: boolean;
|
|
29
|
+
export { _default_2 as default };
|
|
30
|
+
}
|
|
31
|
+
namespace showTooltip {
|
|
32
|
+
const type_3: BooleanConstructor;
|
|
33
|
+
export { type_3 as type };
|
|
34
|
+
const _default_3: boolean;
|
|
35
|
+
export { _default_3 as default };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function data(): {
|
|
39
|
+
layer: null;
|
|
40
|
+
drawTool: null;
|
|
41
|
+
points: never[];
|
|
42
|
+
};
|
|
43
|
+
namespace inject {
|
|
44
|
+
namespace mapInstance {
|
|
45
|
+
const _default_4: null;
|
|
46
|
+
export { _default_4 as default };
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function mounted(): void;
|
|
50
|
+
function beforeDestroy(): void;
|
|
51
|
+
namespace methods {
|
|
52
|
+
function initDrawPoint(): void;
|
|
53
|
+
function bindDrawToolEvents(): void;
|
|
54
|
+
function handleDrawStart(param: any): void;
|
|
55
|
+
function handleDrawEnd(param: any): void;
|
|
56
|
+
function handleDisable(): void;
|
|
57
|
+
function enable(): void;
|
|
58
|
+
function disable(): void;
|
|
59
|
+
function getPoints(): any;
|
|
60
|
+
function clear(): void;
|
|
61
|
+
function addPoint(coordinates: any): void;
|
|
62
|
+
function removePoint(index: any): void;
|
|
63
|
+
function setSymbol(symbol: any): void;
|
|
64
|
+
function getDrawTool(): any;
|
|
65
|
+
function getLayer(): any;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace layerId {
|
|
6
|
+
export const type: StringConstructor;
|
|
7
|
+
const _default: string;
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace symbol {
|
|
11
|
+
const type_1: ObjectConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
function _default_1(): {
|
|
14
|
+
lineColor: string;
|
|
15
|
+
lineWidth: number;
|
|
16
|
+
lineOpacity: number;
|
|
17
|
+
polygonFill: string;
|
|
18
|
+
polygonOpacity: number;
|
|
19
|
+
lineDasharray: never[];
|
|
20
|
+
};
|
|
21
|
+
export { _default_1 as default };
|
|
22
|
+
}
|
|
23
|
+
namespace autoStart {
|
|
24
|
+
const type_2: BooleanConstructor;
|
|
25
|
+
export { type_2 as type };
|
|
26
|
+
const _default_2: boolean;
|
|
27
|
+
export { _default_2 as default };
|
|
28
|
+
}
|
|
29
|
+
namespace showArea {
|
|
30
|
+
const type_3: BooleanConstructor;
|
|
31
|
+
export { type_3 as type };
|
|
32
|
+
const _default_3: boolean;
|
|
33
|
+
export { _default_3 as default };
|
|
34
|
+
}
|
|
35
|
+
namespace showTooltip {
|
|
36
|
+
const type_4: BooleanConstructor;
|
|
37
|
+
export { type_4 as type };
|
|
38
|
+
const _default_4: boolean;
|
|
39
|
+
export { _default_4 as default };
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function data(): {
|
|
43
|
+
layer: null;
|
|
44
|
+
drawTool: null;
|
|
45
|
+
polygons: never[];
|
|
46
|
+
};
|
|
47
|
+
namespace inject {
|
|
48
|
+
namespace mapInstance {
|
|
49
|
+
const _default_5: null;
|
|
50
|
+
export { _default_5 as default };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function mounted(): void;
|
|
54
|
+
function beforeDestroy(): void;
|
|
55
|
+
namespace methods {
|
|
56
|
+
function initDrawPolygon(): void;
|
|
57
|
+
function bindDrawToolEvents(): void;
|
|
58
|
+
function handleDrawStart(param: any): void;
|
|
59
|
+
function handleDrawEnd(param: any): void;
|
|
60
|
+
function handleDisable(): void;
|
|
61
|
+
function calculateArea(polygon: any): any;
|
|
62
|
+
function calculatePerimeter(coordinates: any): number;
|
|
63
|
+
function addAreaLabel(polygon: any, area: any): void;
|
|
64
|
+
function formatArea(area: any): string;
|
|
65
|
+
function enable(): void;
|
|
66
|
+
function disable(): void;
|
|
67
|
+
function getPolygons(): any;
|
|
68
|
+
function clear(): void;
|
|
69
|
+
function addPolygon(coordinates: any): void;
|
|
70
|
+
function removePolygon(index: any): void;
|
|
71
|
+
function setSymbol(symbol: any): void;
|
|
72
|
+
function getDrawTool(): any;
|
|
73
|
+
function getLayer(): any;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace layerId {
|
|
6
|
+
export const type: StringConstructor;
|
|
7
|
+
const _default: string;
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace mode {
|
|
11
|
+
const type_1: StringConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
const _default_1: string;
|
|
14
|
+
export { _default_1 as default };
|
|
15
|
+
}
|
|
16
|
+
namespace symbol {
|
|
17
|
+
const type_2: ObjectConstructor;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
function _default_2(): {
|
|
20
|
+
lineColor: string;
|
|
21
|
+
lineWidth: number;
|
|
22
|
+
lineOpacity: number;
|
|
23
|
+
polygonFill: string;
|
|
24
|
+
polygonOpacity: number;
|
|
25
|
+
markerFill: string;
|
|
26
|
+
markerFillOpacity: number;
|
|
27
|
+
markerLineColor: string;
|
|
28
|
+
markerLineWidth: number;
|
|
29
|
+
markerLineOpacity: number;
|
|
30
|
+
markerWidth: number;
|
|
31
|
+
markerHeight: number;
|
|
32
|
+
};
|
|
33
|
+
export { _default_2 as default };
|
|
34
|
+
}
|
|
35
|
+
namespace editable {
|
|
36
|
+
const type_3: BooleanConstructor;
|
|
37
|
+
export { type_3 as type };
|
|
38
|
+
const _default_3: boolean;
|
|
39
|
+
export { _default_3 as default };
|
|
40
|
+
}
|
|
41
|
+
namespace deletable {
|
|
42
|
+
const type_4: BooleanConstructor;
|
|
43
|
+
export { type_4 as type };
|
|
44
|
+
const _default_4: boolean;
|
|
45
|
+
export { _default_4 as default };
|
|
46
|
+
}
|
|
47
|
+
namespace showTooltip {
|
|
48
|
+
const type_5: BooleanConstructor;
|
|
49
|
+
export { type_5 as type };
|
|
50
|
+
const _default_5: boolean;
|
|
51
|
+
export { _default_5 as default };
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function data(): {
|
|
55
|
+
layer: null;
|
|
56
|
+
drawTool: null;
|
|
57
|
+
isDrawing: boolean;
|
|
58
|
+
};
|
|
59
|
+
namespace inject {
|
|
60
|
+
namespace mapInstance {
|
|
61
|
+
const _default_6: null;
|
|
62
|
+
export { _default_6 as default };
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function mounted(): void;
|
|
66
|
+
function beforeDestroy(): void;
|
|
67
|
+
namespace methods {
|
|
68
|
+
function initDrawTool(): void;
|
|
69
|
+
function bindDrawToolEvents(): void;
|
|
70
|
+
function handleDrawStart(param: any): void;
|
|
71
|
+
function handleDrawVertex(param: any): void;
|
|
72
|
+
function handleMouseMove(param: any): void;
|
|
73
|
+
function handleDrawEnd(param: any): void;
|
|
74
|
+
function handleDisable(): void;
|
|
75
|
+
function handleEditEnd(param: any): void;
|
|
76
|
+
function setMode(mode: any): void;
|
|
77
|
+
function enable(): void;
|
|
78
|
+
function disable(): void;
|
|
79
|
+
function getMode(): any;
|
|
80
|
+
function getStatus(): any;
|
|
81
|
+
function getCurrentGeometry(): any;
|
|
82
|
+
function getGeometries(): any;
|
|
83
|
+
function clear(): void;
|
|
84
|
+
function undo(): void;
|
|
85
|
+
function redo(): void;
|
|
86
|
+
function setSymbol(symbol: any): void;
|
|
87
|
+
function addGeometry(geometry: any): void;
|
|
88
|
+
function removeGeometry(geometry: any): void;
|
|
89
|
+
function measureDistance(coordinates: any): number;
|
|
90
|
+
function measureArea(coordinates: any): number;
|
|
91
|
+
function getDrawTool(): any;
|
|
92
|
+
function getLayer(): any;
|
|
93
|
+
}
|
|
94
|
+
namespace watch {
|
|
95
|
+
export function mode(newVal: any): void;
|
|
96
|
+
export namespace symbol_1 {
|
|
97
|
+
function handler(newVal: any): void;
|
|
98
|
+
const deep: boolean;
|
|
99
|
+
}
|
|
100
|
+
export { symbol_1 as symbol };
|
|
101
|
+
}
|
|
102
|
+
}
|