-
Notifications
You must be signed in to change notification settings - Fork 4
/
block.json
95 lines (94 loc) · 1.68 KB
/
block.json
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
{
"name":"tenup/maps-block-apple",
"title":"Apple Maps",
"category":"embed",
"description":"Add an Apple Map to your site.",
"apiVersion": 3,
"keywords":[
"apple",
"map",
"apple map"
],
"attributes":{
"address":{
"type":"string",
"default":""
},
"height":{
"type":"string",
"default":"450"
},
"latitude":{
"type":"number",
"default":51.48762585296625
},
"longitude":{
"type":"number",
"default":-0.1326724377053381
},
"rotation":{
"type":"number",
"default":0
},
"zoom":{
"type":"number",
"default":15
},
"mapType":{
"type":"string",
"default":"standard"
},
"showsMapTypeControl":{
"type":"boolean",
"default":true
},
"isRotationEnabled":{
"type":"boolean",
"default":true
},
"showsCompass":{
"type":"string",
"default":"adaptive"
},
"isZoomEnabled":{
"type":"boolean",
"default":true
},
"showsZoomControl":{
"type":"boolean",
"default":true
},
"isScrollEnabled":{
"type":"boolean",
"default":true
},
"showsScale":{
"type":"string",
"default":"adaptive"
},
"markers":{
"type":"array",
"default":[
]
}
},
"example":{
"attributes":{
"latitude":51.48762585296625,
"longitude":-0.1326724377053381
}
},
"supports":{
"align":[
"wide",
"full"
],
"spacing": {
"margin": true
},
"html":false
},
"editorScript":"maps-block-apple-block",
"viewScript":"maps-block-apple-frontend",
"editorStyle": "file:build/index.css"
}