@htmlbricks/hb-map 0.61.16 → 0.61.18
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/main.iife.js +1 -1
- package/main.iife.js.map +1 -1
- package/manifest.json +19 -1
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +18 -0
- package/types/webcomponent.type.d.ts +53 -13
package/manifest.json
CHANGED
|
@@ -111,6 +111,12 @@
|
|
|
111
111
|
},
|
|
112
112
|
"type": "array"
|
|
113
113
|
},
|
|
114
|
+
"color": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"opacity": {
|
|
118
|
+
"type": "number"
|
|
119
|
+
},
|
|
114
120
|
"scale": {
|
|
115
121
|
"type": "number"
|
|
116
122
|
},
|
|
@@ -155,6 +161,12 @@
|
|
|
155
161
|
},
|
|
156
162
|
"type": "array"
|
|
157
163
|
},
|
|
164
|
+
"color": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
"opacity": {
|
|
168
|
+
"type": "number"
|
|
169
|
+
},
|
|
158
170
|
"scale": {
|
|
159
171
|
"type": "number"
|
|
160
172
|
},
|
|
@@ -197,6 +209,12 @@
|
|
|
197
209
|
},
|
|
198
210
|
"type": "array"
|
|
199
211
|
},
|
|
212
|
+
"color": {
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"opacity": {
|
|
216
|
+
"type": "number"
|
|
217
|
+
},
|
|
200
218
|
"scale": {
|
|
201
219
|
"type": "number"
|
|
202
220
|
},
|
|
@@ -443,5 +461,5 @@
|
|
|
443
461
|
"size": {},
|
|
444
462
|
"iifePath": "main.iife.js",
|
|
445
463
|
"repoName": "@htmlbricks/hb-map",
|
|
446
|
-
"version": "0.61.
|
|
464
|
+
"version": "0.61.18"
|
|
447
465
|
}
|
package/package.json
CHANGED
|
@@ -28,6 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"type": "array"
|
|
30
30
|
},
|
|
31
|
+
"color": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"opacity": {
|
|
35
|
+
"type": "number"
|
|
36
|
+
},
|
|
31
37
|
"scale": {
|
|
32
38
|
"type": "number"
|
|
33
39
|
},
|
|
@@ -72,6 +78,12 @@
|
|
|
72
78
|
},
|
|
73
79
|
"type": "array"
|
|
74
80
|
},
|
|
81
|
+
"color": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"opacity": {
|
|
85
|
+
"type": "number"
|
|
86
|
+
},
|
|
75
87
|
"scale": {
|
|
76
88
|
"type": "number"
|
|
77
89
|
},
|
|
@@ -114,6 +126,12 @@
|
|
|
114
126
|
},
|
|
115
127
|
"type": "array"
|
|
116
128
|
},
|
|
129
|
+
"color": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"opacity": {
|
|
133
|
+
"type": "number"
|
|
134
|
+
},
|
|
117
135
|
"scale": {
|
|
118
136
|
"type": "number"
|
|
119
137
|
},
|
|
@@ -1,18 +1,58 @@
|
|
|
1
1
|
export type Component = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
id?: string;
|
|
3
|
+
style?: string;
|
|
4
|
+
zoom: number;
|
|
5
|
+
center: number[];
|
|
6
|
+
data: {
|
|
7
|
+
marker?: {
|
|
8
|
+
lngLat: number[];
|
|
9
|
+
icon?: {
|
|
10
|
+
uri: string;
|
|
11
|
+
scale?: number;
|
|
12
|
+
anchor?: number[];
|
|
13
|
+
opacity?: number;
|
|
14
|
+
color?: string;
|
|
15
|
+
};
|
|
16
|
+
id?: string;
|
|
17
|
+
popupHtml?: string;
|
|
18
|
+
};
|
|
19
|
+
point?: {
|
|
20
|
+
lngLat: number[];
|
|
21
|
+
icon?: {
|
|
22
|
+
uri: string;
|
|
23
|
+
scale?: number;
|
|
24
|
+
anchor?: number[];
|
|
25
|
+
opacity?: number;
|
|
26
|
+
color?: string;
|
|
27
|
+
};
|
|
28
|
+
id?: string;
|
|
29
|
+
popupHtml?: string;
|
|
30
|
+
};
|
|
31
|
+
line?: {
|
|
32
|
+
lngLat: number[];
|
|
33
|
+
icon?: {
|
|
34
|
+
uri: string;
|
|
35
|
+
scale?: number;
|
|
36
|
+
anchor?: number[];
|
|
37
|
+
opacity?: number;
|
|
38
|
+
color?: string;
|
|
39
|
+
};
|
|
40
|
+
id?: string;
|
|
41
|
+
popupHtml?: string;
|
|
42
|
+
}[];
|
|
43
|
+
}[];
|
|
44
|
+
source: { type: string; url?: string };
|
|
45
|
+
options: { centerFromGeometries?: boolean };
|
|
13
46
|
};
|
|
14
47
|
|
|
15
48
|
export type Events = {
|
|
16
|
-
|
|
17
|
-
|
|
49
|
+
pointClickCoordinates: {
|
|
50
|
+
coordinates: { latitude: number; longitude: number };
|
|
51
|
+
zoom: number;
|
|
52
|
+
center: number[];
|
|
53
|
+
};
|
|
54
|
+
markerClick: {
|
|
55
|
+
coordinates: { latitude: number; longitude: number };
|
|
56
|
+
id: string;
|
|
57
|
+
};
|
|
18
58
|
};
|