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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
"use strict";
module.exports = {
"buckets": {
"water": {
"datasource": "streets",
"layer": "water",
"type": "fill"
},
"road_large": {
"datasource": "streets",
"layer": "road", "field": "class", "value": ["motorway", "main"],
"type": "line", "cap": "round", "join": "round"
},
"road_regular": {
"datasource": "streets",
"layer": "road", "field": "class", "value": "street",
"type": "line", "cap": "round", "join": "round"
},
"road_limited": {
"datasource": "streets",
"layer": "road", "field": "class", "value": "street_limited",
"type": "line", "cap": "round", "join": "round"
},
"park": {
"datasource": "streets",
"layer": "landuse", "field": "class", "value": "park",
"type": "fill"
},
"wood": {
"datasource": "streets",
"layer": "landuse", "field": "class", "value": "wood",
"type": "fill"
},
"school": {
"datasource": "streets",
"layer": "landuse", "field": "class", "value": "school",
"type": "fill"
},
"cemetery": {
"datasource": "streets",
"layer": "landuse", "field": "class", "value": "cemetery",
"type": "fill"
},
"industrial": {
"datasource": "streets",
"layer": "landuse", "field": "class", "value": "industrial",
"type": "fill"
},
"building": {
"datasource": "streets",
"layer": "building",
"type": "fill"
},
"alcohol": {
"datasource": "streets",
"layer": "poi_label",
"field": "type",
"value": ["Alcohol"],
"type": "point"
}
},
"sprite": "img/maki-sprite",
"structure": [
{ "name": "park", "bucket": "park" },
{ "name": "wood", "bucket": "wood" },
{ "name": "water", "bucket": "water" },
{ "name": "building", "bucket": "building" },
{ "name": "road_limited", "bucket": "road_limited" },
{ "name": "road_regular", "bucket": "road_regular" },
{ "name": "road_large", "bucket": "road_large" },
{ "name": "alcohol", "bucket": "alcohol" }
],
"classes": [
{
"name": "default",
"layers": {
"background": {
"type": "background",
"color": "#FFFFFF"
},
"park": {
"type": "fill",
"color": "#c8df9f",
"antialias": true,
"image": "park"
},
"wood": {
"type": "fill",
"color": "#33AA66",
"antialias": true,
"opacity": 0.1
},
"water": {
"type": "fill",
"color": "#bae0e9",
"stroke": "#73b6e6",
"antialias": true,
"image": "water_etsy"
},
"building": {
"type": "fill",
"color": "#000000",
"antialias": true,
"opacity": [ "linear", 13, 0, 0.1, 0, 0.1 ]
},
"road_limited": {
"type": "line",
"color": "#BBBBBB",
"width": [
"stops",
{ z: 0, val: 1 },
{ z: 30, val: 1 }
]
},
"road_regular": {
"type": "line",
"color": "#999999",
"width": [
"stops",
{ z: 0, val: 0.5 },
{ z: 13, val: 0.5 },
{ z: 16, val: 2 },
{ z: 20, val: 32 },
{ z: 30, val: 32 }
],
},
"road_large": {
"type": "line",
"color": "#666666",
"width": [
"stops",
{ z: 0, val: 0.5 },
{ z: 11, val: 0.5 },
{ z: 13, val: 1 },
{ z: 16, val: 4 },
{ z: 20, val: 64 },
{ z: 30, val: 64 }
],
},
"alcohol": {
"type": "marker",
"image": "alcohol-shop"
}
}
}
]
};
|