-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.json
69 lines (68 loc) · 1.92 KB
/
style.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
{
"version": 8,
"name": "Optimal_GSI_Shirado",
"glyphs": "https://glyphs.geolonia.com/{fontstack}/{range}.pbf",
"sprite": "https://gsi-cyberjapan.github.io/optimal_bvmap/sprite/std",
"sources": {
"OSM_Raster": {
"type": "raster",
"tiles": ["https://tile.openstreetmap.jp/{z}/{x}/{y}.png"],
"tileSize": 256,
"attribution": "<a href=\"https://www.openstreetmap.org/copyright\">© OpenStreetMap contributors</a>"
},
"OSM_Vector": {
"type": "vector",
"tiles": ["https://tile.openstreetmap.jp/data/planet/{z}/{x}/{y}.pbf"],
"minzoom": 14,
"maxzoom": 14,
"attribution": "<a href=\"https://www.openstreetmap.org/copyright\">© OpenStreetMap contributors</a>"
}
},
"layers": [
{
"id": "OSM_Raster",
"type": "raster",
"source": "OSM_Raster",
"minzoom": 0,
"maxzoom": 24
},
{
"id": "OSM_POI",
"type": "circle",
"source": "OSM_Vector",
"source-layer": "poi",
"filter": ["has", "name"],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 3.5,
"circle-color": "#00ffff",
"circle-opacity": 1.0
},
"minzoom": 17,
"maxzoom": 24
},
{
"id": "OSM_POI_Label",
"type": "symbol",
"source": "OSM_Vector",
"source-layer": "poi",
"filter": ["has", "name"],
"layout": {
"text-field": ["get", "name"],
"text-font": ["Noto Sans CJK JP Bold"],
"text-anchor": "left",
"text-offset": [0.5, 0],
"visibility": "visible"
},
"paint": {
"text-color": "rgba(255, 255, 255, 0.7)",
"text-halo-color": "rgba(0,0,0,0.7)",
"text-halo-width": 1.0
},
"minzoom": 17,
"maxzoom": 24
}
]
}