@htmlbricks/hb-map 0.61.15 → 0.61.17
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 +10 -1
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +9 -0
- package/types/webcomponent.type.d.ts +50 -13
package/manifest.json
CHANGED
|
@@ -111,6 +111,9 @@
|
|
|
111
111
|
},
|
|
112
112
|
"type": "array"
|
|
113
113
|
},
|
|
114
|
+
"opacity": {
|
|
115
|
+
"type": "number"
|
|
116
|
+
},
|
|
114
117
|
"scale": {
|
|
115
118
|
"type": "number"
|
|
116
119
|
},
|
|
@@ -155,6 +158,9 @@
|
|
|
155
158
|
},
|
|
156
159
|
"type": "array"
|
|
157
160
|
},
|
|
161
|
+
"opacity": {
|
|
162
|
+
"type": "number"
|
|
163
|
+
},
|
|
158
164
|
"scale": {
|
|
159
165
|
"type": "number"
|
|
160
166
|
},
|
|
@@ -197,6 +203,9 @@
|
|
|
197
203
|
},
|
|
198
204
|
"type": "array"
|
|
199
205
|
},
|
|
206
|
+
"opacity": {
|
|
207
|
+
"type": "number"
|
|
208
|
+
},
|
|
200
209
|
"scale": {
|
|
201
210
|
"type": "number"
|
|
202
211
|
},
|
|
@@ -443,5 +452,5 @@
|
|
|
443
452
|
"size": {},
|
|
444
453
|
"iifePath": "main.iife.js",
|
|
445
454
|
"repoName": "@htmlbricks/hb-map",
|
|
446
|
-
"version": "0.61.
|
|
455
|
+
"version": "0.61.17"
|
|
447
456
|
}
|
package/package.json
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"type": "array"
|
|
30
30
|
},
|
|
31
|
+
"opacity": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
31
34
|
"scale": {
|
|
32
35
|
"type": "number"
|
|
33
36
|
},
|
|
@@ -72,6 +75,9 @@
|
|
|
72
75
|
},
|
|
73
76
|
"type": "array"
|
|
74
77
|
},
|
|
78
|
+
"opacity": {
|
|
79
|
+
"type": "number"
|
|
80
|
+
},
|
|
75
81
|
"scale": {
|
|
76
82
|
"type": "number"
|
|
77
83
|
},
|
|
@@ -114,6 +120,9 @@
|
|
|
114
120
|
},
|
|
115
121
|
"type": "array"
|
|
116
122
|
},
|
|
123
|
+
"opacity": {
|
|
124
|
+
"type": "number"
|
|
125
|
+
},
|
|
117
126
|
"scale": {
|
|
118
127
|
"type": "number"
|
|
119
128
|
},
|
|
@@ -1,18 +1,55 @@
|
|
|
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
|
+
};
|
|
15
|
+
id?: string;
|
|
16
|
+
popupHtml?: string;
|
|
17
|
+
};
|
|
18
|
+
point?: {
|
|
19
|
+
lngLat: number[];
|
|
20
|
+
icon?: {
|
|
21
|
+
uri: string;
|
|
22
|
+
scale?: number;
|
|
23
|
+
anchor?: number[];
|
|
24
|
+
opacity?: number;
|
|
25
|
+
};
|
|
26
|
+
id?: string;
|
|
27
|
+
popupHtml?: string;
|
|
28
|
+
};
|
|
29
|
+
line?: {
|
|
30
|
+
lngLat: number[];
|
|
31
|
+
icon?: {
|
|
32
|
+
uri: string;
|
|
33
|
+
scale?: number;
|
|
34
|
+
anchor?: number[];
|
|
35
|
+
opacity?: number;
|
|
36
|
+
};
|
|
37
|
+
id?: string;
|
|
38
|
+
popupHtml?: string;
|
|
39
|
+
}[];
|
|
40
|
+
}[];
|
|
41
|
+
source: { type: string; url?: string };
|
|
42
|
+
options: { centerFromGeometries?: boolean };
|
|
13
43
|
};
|
|
14
44
|
|
|
15
45
|
export type Events = {
|
|
16
|
-
|
|
17
|
-
|
|
46
|
+
pointClickCoordinates: {
|
|
47
|
+
coordinates: { latitude: number; longitude: number };
|
|
48
|
+
zoom: number;
|
|
49
|
+
center: number[];
|
|
50
|
+
};
|
|
51
|
+
markerClick: {
|
|
52
|
+
coordinates: { latitude: number; longitude: number };
|
|
53
|
+
id: string;
|
|
54
|
+
};
|
|
18
55
|
};
|