-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcustom-elements.json
More file actions
124 lines (124 loc) · 3.08 KB
/
custom-elements.json
File metadata and controls
124 lines (124 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"version": "experimental",
"tags": [
{
"name": "leaflet-map",
"path": "./leaflet-map.ts",
"description": "A simple webcomponent wrapper with some functionality around the Leaflet.js map library.",
"attributes": [
{
"name": "latitude",
"type": "number",
"default": "47.38991"
},
{
"name": "longitude",
"type": "number",
"default": "8.51604"
},
{
"name": "radius",
"type": "number",
"default": "0"
},
{
"name": "updateCenterOnClick",
"type": "boolean",
"default": "false"
},
{
"name": "detectRetina",
"type": "boolean",
"default": "true"
},
{
"name": "defaultZoom",
"type": "number",
"default": "16"
},
{
"name": "maxZoom",
"type": "number",
"default": "19"
}
],
"properties": [
{
"name": "latitude",
"attribute": "latitude",
"type": "number",
"default": "47.38991"
},
{
"name": "longitude",
"attribute": "longitude",
"type": "number",
"default": "8.51604"
},
{
"name": "radius",
"attribute": "radius",
"type": "number",
"default": "0"
},
{
"name": "updateCenterOnClick",
"attribute": "updateCenterOnClick",
"type": "boolean",
"default": "false"
},
{
"name": "detectRetina",
"attribute": "detectRetina",
"type": "boolean",
"default": "true"
},
{
"name": "defaultZoom",
"attribute": "defaultZoom",
"type": "number",
"default": "16"
},
{
"name": "maxZoom",
"attribute": "maxZoom",
"type": "number",
"default": "19"
},
{
"name": "map",
"type": "Map"
}
],
"events": [
{
"name": "tiles-loading",
"description": "Event transporting a promise, fires when the tiles layer starts loading tiles. The promise resolves once all tiles have loaded."
},
{
"name": "center-updated",
"description": "Event transporting the latitude and longitude each time the map center has updated."
},
{
"name": "map-ready",
"description": "Event transporting an leaflet map instance. Fires using the `whenReady` event of leaflet map."
},
{
"name": "resize"
}
],
"cssProperties": [
{
"name": "--leaflet-map-min-height",
"description": "Min. height of the map element",
"type": "Length"
},
{
"name": "--leaflet-popup-item-spacing",
"description": "Spacing of title + url items inside marker popup",
"type": "Length"
}
]
}
]
}