-
Notifications
You must be signed in to change notification settings - Fork 23
/
stopwatcher.json
56 lines (56 loc) · 1.34 KB
/
stopwatcher.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
{
"style": "#(style)",
"latitude": #(lat),
"longitude": #(lon),
"zoom": #(zoom),
"width": #(width),
"height": #(height),
"scale": #(scale),
"format": "png",
"markers": [
#if(pointjson != nil):
#for(wp in pointjson):
{
"url": "#(markers)#index(wp, 2)_gray.png",
"latitude": #index(wp, 0),
"longitude": #index(wp, 1),
"width": 48,
"height": 48,
#if(type == "portal"):
"y_offset": 0
#else:
"y_offset": -24
#endif
},
#endfor
#endif
{
"url": "#(markers)#(type)_normal.png",
"latitude": #(lat),
"longitude": #(lon),
"width": 64,
"height": 64,
#if(type == "portal"):
"y_offset": 0
#else:
"y_offset": -32
#endif
}
]
#if(pathjson != nil):
,
"polygons": [
{
"fill_color": "#(fill)",
"stroke_color": "#(stroke)",
"stroke_width": #(strokewidth),
"path":
[
#for(coord in pathjson):
#if(index != 0):,#endif[#index(coord, 0), #index(coord, 1)]
#endfor
]
}
]
#endif
}