ry-vue-map 0.2.9 → 0.3.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ry-vue-map",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "private": false,
5
5
  "main": "lib/ryui.umd.min.js",
6
6
  "description": "ry公共组件库",
@@ -1,29 +1,122 @@
1
-
2
- import Base from '../base/base';
3
-
4
- export default class RyKMLDto extends Base {
5
- //
6
- model = {
7
- type: Array,
8
- default: () => [],
9
- };
10
-
11
-
12
- isShow= {
13
- type: Object,
14
- default: ()=> null,
15
- }; // 清除多边形以及标记
16
-
17
- // 清除多边形以及标记
18
- clear = {
19
- type: Boolean,
20
- default: false,
21
- };
22
-
23
- // 是否根据bbox 设为中心点
24
- isFit = {
25
- type: Boolean,
26
- default: true,
27
- };
28
-
29
- }
1
+
2
+ import Base from './../base/base';
3
+
4
+ export default class PolygonsDto extends Base {
5
+ // 多边形
6
+ modelArr = {
7
+ type: Array,
8
+ default: () => [],
9
+ };
10
+ // 插入单个的多边形
11
+ insert = {
12
+ type: Object,
13
+ default: () => null,
14
+ };
15
+
16
+ // 批量插入多边形
17
+ inserts = {
18
+ type: Array,
19
+ default: () => [],
20
+ };
21
+
22
+ // 显示或隐藏所有多边形所有
23
+ isShowAll = {
24
+ type: Boolean,
25
+ default: true,
26
+ };
27
+
28
+ // 隐藏单个多边形
29
+ isShowPolygon = {
30
+ type: Object,
31
+ default: () => null,
32
+ };
33
+
34
+ // 批量 显示隐藏
35
+ isShowPolygons = {
36
+ type: Array,
37
+ default: () => [],
38
+ };
39
+
40
+
41
+ // 清除多边形以及标记
42
+ clear = {
43
+ type: Boolean,
44
+ default: false,
45
+ };
46
+
47
+ // 是否显示标记
48
+ isCheckPointHideAll = {
49
+ type: Boolean,
50
+ default: false,
51
+ };
52
+
53
+ // 是否显示标记
54
+ isCheckPointHide = {
55
+ type: Object,
56
+ default: () => null
57
+ };
58
+
59
+
60
+ // 批量 是否显示标记
61
+ isCheckPointHides = {
62
+ type: Array,
63
+ default: () => [],
64
+ };
65
+
66
+
67
+ // 设置多边形颜色
68
+ polygonColor = {
69
+ type: Object,
70
+ default: () => null,
71
+ };
72
+
73
+
74
+ // 批量设置多边形颜色
75
+ polygonColors = {
76
+ type: Array,
77
+ default: () => [],
78
+ };
79
+
80
+ // 设置文本 文本
81
+ text = {
82
+ type: Object,
83
+ default: () => null,
84
+ };
85
+
86
+ // 是否根据bbox 设为中心点
87
+ isFit = {
88
+ type: Boolean,
89
+ default: true,
90
+ };
91
+
92
+ // 删除单个多边形
93
+ remove = {
94
+ type: [String, Number, Object],
95
+ default: () => null,
96
+ };
97
+
98
+ // 删除多个多边形
99
+ removes = {
100
+ type: Array,
101
+ default: () => [],
102
+ };
103
+
104
+ // 根据传入的Id数组 定位
105
+ ranges = {
106
+ type: Array,
107
+ default: () => [],
108
+ };
109
+
110
+ // 根据传入的Id 定位
111
+ range = {
112
+ type: [String, Number, Object],
113
+ default: () => null,
114
+ };
115
+ // 开启显示或隐藏后从新定位
116
+ restFit={
117
+ type: Boolean,
118
+ default: false,
119
+ };
120
+
121
+
122
+ }