@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
|
@@ -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 content {
|
|
10
|
+
const type_1: StringConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
const required_1: boolean;
|
|
13
|
+
export { required_1 as required };
|
|
14
|
+
}
|
|
15
|
+
namespace boxWidth {
|
|
16
|
+
const type_2: NumberConstructor;
|
|
17
|
+
export { type_2 as type };
|
|
18
|
+
const _default: number;
|
|
19
|
+
export { _default as default };
|
|
20
|
+
}
|
|
21
|
+
namespace textStyle {
|
|
22
|
+
const type_3: ObjectConstructor;
|
|
23
|
+
export { type_3 as type };
|
|
24
|
+
function _default_1(): {
|
|
25
|
+
fontSize: number;
|
|
26
|
+
fill: string;
|
|
27
|
+
weight: string;
|
|
28
|
+
};
|
|
29
|
+
export { _default_1 as default };
|
|
30
|
+
}
|
|
31
|
+
namespace boxStyle {
|
|
32
|
+
const type_4: ObjectConstructor;
|
|
33
|
+
export { type_4 as type };
|
|
34
|
+
function _default_2(): {
|
|
35
|
+
padding: number[];
|
|
36
|
+
symbol: {
|
|
37
|
+
markerType: string;
|
|
38
|
+
markerFill: string;
|
|
39
|
+
markerFillOpacity: number;
|
|
40
|
+
markerLineColor: string;
|
|
41
|
+
markerLineWidth: number;
|
|
42
|
+
markerLineOpacity: number;
|
|
43
|
+
markerLineDasharray: never[];
|
|
44
|
+
markerWidth: number;
|
|
45
|
+
markerHeight: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export { _default_2 as default };
|
|
49
|
+
}
|
|
50
|
+
namespace opacity {
|
|
51
|
+
const type_5: NumberConstructor;
|
|
52
|
+
export { type_5 as type };
|
|
53
|
+
const _default_3: number;
|
|
54
|
+
export { _default_3 as default };
|
|
55
|
+
}
|
|
56
|
+
namespace visible {
|
|
57
|
+
const type_6: BooleanConstructor;
|
|
58
|
+
export { type_6 as type };
|
|
59
|
+
const _default_4: boolean;
|
|
60
|
+
export { _default_4 as default };
|
|
61
|
+
}
|
|
62
|
+
namespace textDirection {
|
|
63
|
+
const type_7: StringConstructor;
|
|
64
|
+
export { type_7 as type };
|
|
65
|
+
const _default_5: string;
|
|
66
|
+
export { _default_5 as default };
|
|
67
|
+
}
|
|
68
|
+
namespace properties {
|
|
69
|
+
const type_8: ObjectConstructor;
|
|
70
|
+
export { type_8 as type };
|
|
71
|
+
function _default_6(): {};
|
|
72
|
+
export { _default_6 as default };
|
|
73
|
+
}
|
|
74
|
+
namespace zIndex {
|
|
75
|
+
const type_9: NumberConstructor;
|
|
76
|
+
export { type_9 as type };
|
|
77
|
+
const _default_7: number;
|
|
78
|
+
export { _default_7 as default };
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
function data(): {
|
|
82
|
+
label: null;
|
|
83
|
+
};
|
|
84
|
+
namespace inject {
|
|
85
|
+
namespace mapInstance {
|
|
86
|
+
const _default_8: null;
|
|
87
|
+
export { _default_8 as default };
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function mounted(): void;
|
|
91
|
+
function beforeDestroy(): void;
|
|
92
|
+
namespace methods {
|
|
93
|
+
function initLabel(): void;
|
|
94
|
+
function removeLabel(): void;
|
|
95
|
+
function handleClick(e: any): void;
|
|
96
|
+
function handleMouseover(e: any): void;
|
|
97
|
+
function handleMouseout(e: any): void;
|
|
98
|
+
function setContent(content: any): void;
|
|
99
|
+
function setCoordinates(coordinates: any): void;
|
|
100
|
+
function setStyle(style: any): void;
|
|
101
|
+
function setOpacity(opacity: any): void;
|
|
102
|
+
function show(): void;
|
|
103
|
+
function hide(): void;
|
|
104
|
+
function getLabel(): any;
|
|
105
|
+
}
|
|
106
|
+
namespace watch {
|
|
107
|
+
function content(newVal: any): void;
|
|
108
|
+
function coordinates(newVal: any): void;
|
|
109
|
+
function opacity(newVal: any): void;
|
|
110
|
+
function visible(newVal: any): void;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 layerId {
|
|
10
|
+
const type_1: StringConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
const _default: string;
|
|
13
|
+
export { _default as default };
|
|
14
|
+
}
|
|
15
|
+
namespace symbol {
|
|
16
|
+
const type_2: ObjectConstructor;
|
|
17
|
+
export { type_2 as type };
|
|
18
|
+
function _default_1(): {
|
|
19
|
+
lineColor: string;
|
|
20
|
+
lineWidth: number;
|
|
21
|
+
lineOpacity: number;
|
|
22
|
+
lineDasharray: never[];
|
|
23
|
+
lineCap: string;
|
|
24
|
+
lineJoin: string;
|
|
25
|
+
};
|
|
26
|
+
export { _default_1 as default };
|
|
27
|
+
}
|
|
28
|
+
namespace opacity {
|
|
29
|
+
const type_3: NumberConstructor;
|
|
30
|
+
export { type_3 as type };
|
|
31
|
+
const _default_2: number;
|
|
32
|
+
export { _default_2 as default };
|
|
33
|
+
}
|
|
34
|
+
namespace visible {
|
|
35
|
+
const type_4: BooleanConstructor;
|
|
36
|
+
export { type_4 as type };
|
|
37
|
+
const _default_3: boolean;
|
|
38
|
+
export { _default_3 as default };
|
|
39
|
+
}
|
|
40
|
+
namespace zIndex {
|
|
41
|
+
const type_5: NumberConstructor;
|
|
42
|
+
export { type_5 as type };
|
|
43
|
+
const _default_4: number;
|
|
44
|
+
export { _default_4 as default };
|
|
45
|
+
}
|
|
46
|
+
namespace smooth {
|
|
47
|
+
const type_6: BooleanConstructor;
|
|
48
|
+
export { type_6 as type };
|
|
49
|
+
const _default_5: boolean;
|
|
50
|
+
export { _default_5 as default };
|
|
51
|
+
}
|
|
52
|
+
namespace properties {
|
|
53
|
+
const type_7: ObjectConstructor;
|
|
54
|
+
export { type_7 as type };
|
|
55
|
+
function _default_6(): {};
|
|
56
|
+
export { _default_6 as default };
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function data(): {
|
|
60
|
+
layer: null;
|
|
61
|
+
lineString: null;
|
|
62
|
+
};
|
|
63
|
+
namespace inject {
|
|
64
|
+
namespace mapInstance {
|
|
65
|
+
const _default_7: null;
|
|
66
|
+
export { _default_7 as default };
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function mounted(): void;
|
|
70
|
+
function beforeDestroy(): void;
|
|
71
|
+
namespace methods {
|
|
72
|
+
function initLineString(): void;
|
|
73
|
+
function removeLineString(): void;
|
|
74
|
+
function handleClick(e: any): void;
|
|
75
|
+
function handleMouseover(e: any): void;
|
|
76
|
+
function handleMouseout(e: any): void;
|
|
77
|
+
function handleDblClick(e: any): void;
|
|
78
|
+
function handleMouseDown(e: any): void;
|
|
79
|
+
function handleMouseUp(e: any): void;
|
|
80
|
+
function setCoordinates(coordinates: any): void;
|
|
81
|
+
function appendCoordinates(coordinates: any): void;
|
|
82
|
+
function removeCoordinates(index: any, count?: number): void;
|
|
83
|
+
function insertCoordinates(index: any, coordinates: any): void;
|
|
84
|
+
function setSymbol(symbol: any): void;
|
|
85
|
+
function setOpacity(opacity: any): void;
|
|
86
|
+
function show(): void;
|
|
87
|
+
function hide(): void;
|
|
88
|
+
function getLength(): any;
|
|
89
|
+
function getCoordinates(): any;
|
|
90
|
+
function getCenter(): any;
|
|
91
|
+
function getExtent(): any;
|
|
92
|
+
function getLineString(): any;
|
|
93
|
+
function getLayer(): any;
|
|
94
|
+
}
|
|
95
|
+
namespace watch {
|
|
96
|
+
export function coordinates(newVal: any): void;
|
|
97
|
+
export namespace symbol_1 {
|
|
98
|
+
function handler(newVal: any): void;
|
|
99
|
+
const deep: boolean;
|
|
100
|
+
}
|
|
101
|
+
export { symbol_1 as symbol };
|
|
102
|
+
export function opacity(newVal: any): void;
|
|
103
|
+
export function visible(newVal: any): void;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
4
|
+
namespace props {
|
|
5
|
+
namespace options {
|
|
6
|
+
export const type: ObjectConstructor;
|
|
7
|
+
function _default(): {};
|
|
8
|
+
export { _default as default };
|
|
9
|
+
}
|
|
10
|
+
namespace center {
|
|
11
|
+
const type_1: ArrayConstructor;
|
|
12
|
+
export { type_1 as type };
|
|
13
|
+
function _default_1(): number[];
|
|
14
|
+
export { _default_1 as default };
|
|
15
|
+
}
|
|
16
|
+
namespace zoom {
|
|
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 minZoom {
|
|
23
|
+
const type_3: NumberConstructor;
|
|
24
|
+
export { type_3 as type };
|
|
25
|
+
const _default_3: number;
|
|
26
|
+
export { _default_3 as default };
|
|
27
|
+
}
|
|
28
|
+
namespace maxZoom {
|
|
29
|
+
const type_4: NumberConstructor;
|
|
30
|
+
export { type_4 as type };
|
|
31
|
+
const _default_4: number;
|
|
32
|
+
export { _default_4 as default };
|
|
33
|
+
}
|
|
34
|
+
namespace baseLayer {
|
|
35
|
+
const type_5: StringConstructor;
|
|
36
|
+
export { type_5 as type };
|
|
37
|
+
const _default_5: string;
|
|
38
|
+
export { _default_5 as default };
|
|
39
|
+
}
|
|
40
|
+
namespace baseLayerUrl {
|
|
41
|
+
const type_6: StringConstructor;
|
|
42
|
+
export { type_6 as type };
|
|
43
|
+
const _default_6: string;
|
|
44
|
+
export { _default_6 as default };
|
|
45
|
+
}
|
|
46
|
+
namespace subdomains {
|
|
47
|
+
const type_7: ArrayConstructor;
|
|
48
|
+
export { type_7 as type };
|
|
49
|
+
function _default_7(): string[];
|
|
50
|
+
export { _default_7 as default };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function data(): {
|
|
54
|
+
map: null;
|
|
55
|
+
baseLayerInstance: null;
|
|
56
|
+
};
|
|
57
|
+
function mounted(): void;
|
|
58
|
+
function beforeDestroy(): void;
|
|
59
|
+
namespace methods {
|
|
60
|
+
function initMap(): void;
|
|
61
|
+
function addBaseLayer(): void;
|
|
62
|
+
function switchBaseLayer(layerType: any, urlTemplate?: string): void;
|
|
63
|
+
function setCenter(center: any): void;
|
|
64
|
+
function setZoom(zoom: any): void;
|
|
65
|
+
function flyTo(center: any, zoom: any, options?: {}): void;
|
|
66
|
+
function getMap(): any;
|
|
67
|
+
}
|
|
68
|
+
function provide(): any;
|
|
69
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 icon {
|
|
10
|
+
const type_1: StringConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
const _default: string;
|
|
13
|
+
export { _default as default };
|
|
14
|
+
}
|
|
15
|
+
namespace iconSize {
|
|
16
|
+
const type_2: ArrayConstructor;
|
|
17
|
+
export { type_2 as type };
|
|
18
|
+
function _default_1(): number[];
|
|
19
|
+
export { _default_1 as default };
|
|
20
|
+
}
|
|
21
|
+
namespace iconOffset {
|
|
22
|
+
const type_3: ArrayConstructor;
|
|
23
|
+
export { type_3 as type };
|
|
24
|
+
function _default_2(): number[];
|
|
25
|
+
export { _default_2 as default };
|
|
26
|
+
}
|
|
27
|
+
namespace rotation {
|
|
28
|
+
const type_4: NumberConstructor;
|
|
29
|
+
export { type_4 as type };
|
|
30
|
+
const _default_3: number;
|
|
31
|
+
export { _default_3 as default };
|
|
32
|
+
}
|
|
33
|
+
namespace opacity {
|
|
34
|
+
const type_5: NumberConstructor;
|
|
35
|
+
export { type_5 as type };
|
|
36
|
+
const _default_4: number;
|
|
37
|
+
export { _default_4 as default };
|
|
38
|
+
}
|
|
39
|
+
namespace visible {
|
|
40
|
+
const type_6: BooleanConstructor;
|
|
41
|
+
export { type_6 as type };
|
|
42
|
+
const _default_5: boolean;
|
|
43
|
+
export { _default_5 as default };
|
|
44
|
+
}
|
|
45
|
+
namespace draggable {
|
|
46
|
+
const type_7: BooleanConstructor;
|
|
47
|
+
export { type_7 as type };
|
|
48
|
+
const _default_6: boolean;
|
|
49
|
+
export { _default_6 as default };
|
|
50
|
+
}
|
|
51
|
+
namespace curve {
|
|
52
|
+
const type_8: NumberConstructor;
|
|
53
|
+
export { type_8 as type };
|
|
54
|
+
const _default_7: number;
|
|
55
|
+
export { _default_7 as default };
|
|
56
|
+
}
|
|
57
|
+
namespace properties {
|
|
58
|
+
const type_9: ObjectConstructor;
|
|
59
|
+
export { type_9 as type };
|
|
60
|
+
function _default_8(): {};
|
|
61
|
+
export { _default_8 as default };
|
|
62
|
+
}
|
|
63
|
+
namespace zIndex {
|
|
64
|
+
const type_10: NumberConstructor;
|
|
65
|
+
export { type_10 as type };
|
|
66
|
+
const _default_9: number;
|
|
67
|
+
export { _default_9 as default };
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function data(): {
|
|
71
|
+
marker: null;
|
|
72
|
+
};
|
|
73
|
+
namespace inject {
|
|
74
|
+
namespace mapInstance {
|
|
75
|
+
const _default_10: null;
|
|
76
|
+
export { _default_10 as default };
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function mounted(): void;
|
|
80
|
+
function beforeDestroy(): void;
|
|
81
|
+
namespace methods {
|
|
82
|
+
function initMarker(): void;
|
|
83
|
+
function removeMarker(): void;
|
|
84
|
+
function handleClick(e: any): void;
|
|
85
|
+
function handleMouseover(e: any): void;
|
|
86
|
+
function handleMouseout(e: any): void;
|
|
87
|
+
function handleDragStart(e: any): void;
|
|
88
|
+
function handleDragging(e: any): void;
|
|
89
|
+
function handleDragEnd(e: any): void;
|
|
90
|
+
function setCoordinates(coordinates: any): void;
|
|
91
|
+
function setIcon(icon: any): void;
|
|
92
|
+
function setOpacity(opacity: any): void;
|
|
93
|
+
function show(): void;
|
|
94
|
+
function hide(): void;
|
|
95
|
+
function openInfoWindow(content: any, options?: {}): void;
|
|
96
|
+
function closeInfoWindow(): void;
|
|
97
|
+
function getMarker(): any;
|
|
98
|
+
}
|
|
99
|
+
namespace watch {
|
|
100
|
+
function coordinates(newVal: any): void;
|
|
101
|
+
function icon(newVal: any): void;
|
|
102
|
+
function opacity(newVal: any): void;
|
|
103
|
+
function visible(newVal: any): void;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 layerId {
|
|
10
|
+
const type_1: StringConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
const _default: string;
|
|
13
|
+
export { _default as default };
|
|
14
|
+
}
|
|
15
|
+
namespace symbol {
|
|
16
|
+
const type_2: ObjectConstructor;
|
|
17
|
+
export { type_2 as type };
|
|
18
|
+
function _default_1(): {
|
|
19
|
+
markerType: string;
|
|
20
|
+
markerFill: string;
|
|
21
|
+
markerFillOpacity: number;
|
|
22
|
+
markerLineColor: string;
|
|
23
|
+
markerLineWidth: number;
|
|
24
|
+
markerLineOpacity: number;
|
|
25
|
+
markerWidth: number;
|
|
26
|
+
markerHeight: number;
|
|
27
|
+
markerDx: number;
|
|
28
|
+
markerDy: number;
|
|
29
|
+
};
|
|
30
|
+
export { _default_1 as default };
|
|
31
|
+
}
|
|
32
|
+
namespace opacity {
|
|
33
|
+
const type_3: NumberConstructor;
|
|
34
|
+
export { type_3 as type };
|
|
35
|
+
const _default_2: number;
|
|
36
|
+
export { _default_2 as default };
|
|
37
|
+
}
|
|
38
|
+
namespace visible {
|
|
39
|
+
const type_4: BooleanConstructor;
|
|
40
|
+
export { type_4 as type };
|
|
41
|
+
const _default_3: boolean;
|
|
42
|
+
export { _default_3 as default };
|
|
43
|
+
}
|
|
44
|
+
namespace zIndex {
|
|
45
|
+
const type_5: NumberConstructor;
|
|
46
|
+
export { type_5 as type };
|
|
47
|
+
const _default_4: number;
|
|
48
|
+
export { _default_4 as default };
|
|
49
|
+
}
|
|
50
|
+
namespace properties {
|
|
51
|
+
const type_6: ObjectConstructor;
|
|
52
|
+
export { type_6 as type };
|
|
53
|
+
function _default_5(): {};
|
|
54
|
+
export { _default_5 as default };
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function data(): {
|
|
58
|
+
layer: null;
|
|
59
|
+
point: null;
|
|
60
|
+
};
|
|
61
|
+
namespace inject {
|
|
62
|
+
namespace mapInstance {
|
|
63
|
+
const _default_6: null;
|
|
64
|
+
export { _default_6 as default };
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
function mounted(): void;
|
|
68
|
+
function beforeDestroy(): void;
|
|
69
|
+
namespace methods {
|
|
70
|
+
function initPoint(): void;
|
|
71
|
+
function removePoint(): void;
|
|
72
|
+
function handleClick(e: any): void;
|
|
73
|
+
function handleMouseover(e: any): void;
|
|
74
|
+
function handleMouseout(e: any): void;
|
|
75
|
+
function handleDblClick(e: any): void;
|
|
76
|
+
function handleMouseDown(e: any): void;
|
|
77
|
+
function handleMouseUp(e: any): void;
|
|
78
|
+
function setCoordinates(coordinates: any): void;
|
|
79
|
+
function setSymbol(symbol: any): void;
|
|
80
|
+
function setOpacity(opacity: any): void;
|
|
81
|
+
function show(): void;
|
|
82
|
+
function hide(): void;
|
|
83
|
+
function animateTo(coordinates: any, options?: {}): void;
|
|
84
|
+
function getCoordinates(): any;
|
|
85
|
+
function getPoint(): any;
|
|
86
|
+
function getLayer(): any;
|
|
87
|
+
}
|
|
88
|
+
namespace watch {
|
|
89
|
+
export function coordinates(newVal: any): void;
|
|
90
|
+
export namespace symbol_1 {
|
|
91
|
+
function handler(newVal: any): void;
|
|
92
|
+
const deep: boolean;
|
|
93
|
+
}
|
|
94
|
+
export { symbol_1 as symbol };
|
|
95
|
+
export function opacity(newVal: any): void;
|
|
96
|
+
export function visible(newVal: any): void;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 layerId {
|
|
10
|
+
const type_1: StringConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
const _default: string;
|
|
13
|
+
export { _default as default };
|
|
14
|
+
}
|
|
15
|
+
namespace symbol {
|
|
16
|
+
const type_2: ObjectConstructor;
|
|
17
|
+
export { type_2 as type };
|
|
18
|
+
function _default_1(): {
|
|
19
|
+
lineColor: string;
|
|
20
|
+
lineWidth: number;
|
|
21
|
+
lineOpacity: number;
|
|
22
|
+
polygonFill: string;
|
|
23
|
+
polygonOpacity: number;
|
|
24
|
+
lineDasharray: never[];
|
|
25
|
+
};
|
|
26
|
+
export { _default_1 as default };
|
|
27
|
+
}
|
|
28
|
+
namespace opacity {
|
|
29
|
+
const type_3: NumberConstructor;
|
|
30
|
+
export { type_3 as type };
|
|
31
|
+
const _default_2: number;
|
|
32
|
+
export { _default_2 as default };
|
|
33
|
+
}
|
|
34
|
+
namespace visible {
|
|
35
|
+
const type_4: BooleanConstructor;
|
|
36
|
+
export { type_4 as type };
|
|
37
|
+
const _default_3: boolean;
|
|
38
|
+
export { _default_3 as default };
|
|
39
|
+
}
|
|
40
|
+
namespace zIndex {
|
|
41
|
+
const type_5: NumberConstructor;
|
|
42
|
+
export { type_5 as type };
|
|
43
|
+
const _default_4: number;
|
|
44
|
+
export { _default_4 as default };
|
|
45
|
+
}
|
|
46
|
+
namespace properties {
|
|
47
|
+
const type_6: ObjectConstructor;
|
|
48
|
+
export { type_6 as type };
|
|
49
|
+
function _default_5(): {};
|
|
50
|
+
export { _default_5 as default };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function data(): {
|
|
54
|
+
layer: null;
|
|
55
|
+
polygon: null;
|
|
56
|
+
};
|
|
57
|
+
namespace inject {
|
|
58
|
+
namespace mapInstance {
|
|
59
|
+
const _default_6: null;
|
|
60
|
+
export { _default_6 as default };
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function mounted(): void;
|
|
64
|
+
function beforeDestroy(): void;
|
|
65
|
+
namespace methods {
|
|
66
|
+
function initPolygon(): void;
|
|
67
|
+
function removePolygon(): void;
|
|
68
|
+
function handleClick(e: any): void;
|
|
69
|
+
function handleMouseover(e: any): void;
|
|
70
|
+
function handleMouseout(e: any): void;
|
|
71
|
+
function handleDblClick(e: any): void;
|
|
72
|
+
function handleMouseDown(e: any): void;
|
|
73
|
+
function handleMouseUp(e: any): void;
|
|
74
|
+
function setCoordinates(coordinates: any): void;
|
|
75
|
+
function setSymbol(symbol: any): void;
|
|
76
|
+
function setOpacity(opacity: any): void;
|
|
77
|
+
function show(): void;
|
|
78
|
+
function hide(): void;
|
|
79
|
+
function getArea(): any;
|
|
80
|
+
function getCoordinates(): any;
|
|
81
|
+
function getCenter(): any;
|
|
82
|
+
function getExtent(): any;
|
|
83
|
+
function getShell(): any;
|
|
84
|
+
function getHoles(): any;
|
|
85
|
+
function getPolygon(): any;
|
|
86
|
+
function getLayer(): any;
|
|
87
|
+
}
|
|
88
|
+
namespace watch {
|
|
89
|
+
export function coordinates(newVal: any): void;
|
|
90
|
+
export namespace symbol_1 {
|
|
91
|
+
function handler(newVal: any): void;
|
|
92
|
+
const deep: boolean;
|
|
93
|
+
}
|
|
94
|
+
export { symbol_1 as symbol };
|
|
95
|
+
export function opacity(newVal: any): void;
|
|
96
|
+
export function visible(newVal: any): void;
|
|
97
|
+
}
|
|
98
|
+
}
|