Created
July 29, 2024 01:12
-
-
Save ShinichiNishikawa/60d5dc25e1c6cc3c19a5a79a7f806204 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "GSI Japan + OpenStreetMap based style for Geolonia", | |
"center": [ | |
135.39, | |
37.46 | |
], | |
"zoom": 5, | |
"sprite": "https://api.geolonia.com/v1/sprites/gsi", | |
"glyphs": "https://glyphs.geolonia.com/{fontstack}/{range}.pbf", | |
"sources": { | |
"gsi-japan": { | |
"type": "vector", | |
"url": "https://tileserver.geolonia.com/gsi_experimental_bvmap/tiles.json?key=YOUR-API-KEY", | |
"minzoom": 5 | |
}, | |
"v3": { | |
"type": "vector", | |
"url": "https://tileserver.geolonia.com/v3/tiles.json?key=YOUR-API-KEY" | |
}, | |
"gsidem": { | |
"type": "raster-dem", | |
"url": "https://tileserver.geolonia.com/gsi-dem/tiles.json?key=YOUR-API-KEY" | |
}, | |
"satellite": { | |
"type": "raster", | |
"url": "https://api.maptiler.com/tiles/satellite-v2/tiles.json?key=3RIGqI7btoYpMwxpZdPC" | |
}, | |
"negative-city-mask": { | |
"type": "vector", | |
"url": "https://tileserver.geolonia.com/takamatsu_negative_mask/tiles.json?key=YOUR-API-KEY" | |
}, | |
"takamatsu": { | |
"type": "vector", | |
"url": "https://tileserver.geolonia.com/takamatsu_main_v0/tiles.json?key=YOUR-API-KEY" | |
}, | |
"kihonzu": { | |
"type": "vector", | |
"url": "https://tileserver.geolonia.com/takamatsu_kihonzu_v1/tiles.json?key=YOUR-API-KEY" | |
} | |
}, | |
"layers": [ | |
{ | |
"id": "background", | |
"type": "background", | |
"paint": { | |
"background-color": { | |
"stops": [ | |
[ | |
1, | |
"#f2f5d6" | |
], | |
[ | |
5, | |
"#dae2c1" | |
], | |
[ | |
8, | |
"#EDE6DD" | |
], | |
[ | |
10, | |
"#e6e5e3" | |
], | |
[ | |
16, | |
"#f5f5f5" | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "landcover-wood", | |
"type": "fill", | |
"source": "v3", | |
"source-layer": "landcover", | |
"filter": [ | |
"==", | |
"class", | |
"wood" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": { | |
"stops": [ | |
[ | |
5, | |
"#a5d47b" | |
], | |
[ | |
8, | |
"#bce398" | |
] | |
] | |
}, | |
"fill-antialias": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
false | |
], | |
[ | |
9, | |
true | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "landcover-grass-park", | |
"type": "fill", | |
"source": "v3", | |
"source-layer": "park", | |
"filter": [ | |
"==", | |
"class", | |
"public_park" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "#d8e8c8", | |
"fill-opacity": 0.8 | |
} | |
}, | |
{ | |
"id": "geolonia-water-ocean", | |
"type": "fill", | |
"source": "v3", | |
"source-layer": "water", | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "#65cbf9" | |
} | |
}, | |
{ | |
"id": "water-blur", | |
"type": "line", | |
"source": "v3", | |
"source-layer": "water", | |
"minzoom": 17, | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#62cffc", | |
"line-width": { | |
"stops": [ | |
[ | |
17, | |
3 | |
], | |
[ | |
20, | |
5 | |
] | |
] | |
}, | |
"line-translate": { | |
"stops": [ | |
[ | |
17, | |
[ | |
1, | |
1 | |
] | |
], | |
[ | |
20, | |
[ | |
-2, | |
-2 | |
] | |
] | |
] | |
}, | |
"line-blur": 2 | |
} | |
}, | |
{ | |
"id": "water-blur-gsi", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "river", | |
"minzoom": 17, | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#62cffc", | |
"line-width": { | |
"stops": [ | |
[ | |
17, | |
3 | |
], | |
[ | |
20, | |
5 | |
] | |
] | |
}, | |
"line-translate": { | |
"stops": [ | |
[ | |
17, | |
[ | |
1, | |
1 | |
] | |
], | |
[ | |
20, | |
[ | |
-2, | |
-2 | |
] | |
] | |
] | |
}, | |
"line-blur": 2 | |
} | |
}, | |
{ | |
"id": "water-gsi", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "river", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"ftCode", | |
5322 | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"line-round-limit": 0.5, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#65cbf9", | |
"line-width": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
16, | |
1, | |
20, | |
5 | |
] | |
} | |
}, | |
{ | |
"id": "water", | |
"type": "fill", | |
"source": "gsi-japan", | |
"source-layer": "waterarea", | |
"filter": [ | |
"all" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "#65cbf9" | |
} | |
}, | |
{ | |
"id": "nt-water-name-ocean", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "nt-water-name", | |
"minzoom": 8, | |
"filter": [ | |
"==", | |
[ | |
"get", | |
"class" | |
], | |
"ocean" | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "point", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.2 | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "nt-water-name-river", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "nt-water-name", | |
"minzoom": 13, | |
"filter": [ | |
"==", | |
[ | |
"get", | |
"class" | |
], | |
"river" | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "point", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.2 | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "park", | |
"type": "fill", | |
"source": "v3", | |
"source-layer": "park", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"!=", | |
"class", | |
"national_park" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "rgba(102, 170, 68, 1)", | |
"fill-opacity": { | |
"stops": [ | |
[ | |
7, | |
0 | |
], | |
[ | |
9, | |
0.2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway_tunnel", | |
"type": "line", | |
"source": "v3", | |
"source-layer": "waterway", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"river", | |
"stream", | |
"canal" | |
], | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#65cbf9", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
2, | |
4 | |
] | |
} | |
}, | |
{ | |
"id": "waterway-other", | |
"type": "line", | |
"source": "v3", | |
"source-layer": "waterway", | |
"filter": [ | |
"!in", | |
"class", | |
"canal", | |
"river", | |
"stream" | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#65cbf9", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway-stream-canal", | |
"type": "line", | |
"source": "v3", | |
"source-layer": "waterway", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"canal", | |
"stream" | |
], | |
[ | |
"!=", | |
"brunnel", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#65cbf9", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway-name", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "waterway", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "line", | |
"text-letter-spacing": 0.2, | |
"symbol-spacing": 350 | |
}, | |
"paint": { | |
"text-color": "#65cbf9", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "water-name-lakeline", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "water_name", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "line", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.2 | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "water-name-ocean", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "water_name", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"class", | |
"ocean" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "point", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.2 | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "water-name-other", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "water_name", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"!in", | |
"class", | |
"ocean" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
], | |
[ | |
"!=", | |
"subclass", | |
"moat" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": { | |
"stops": [ | |
[ | |
0, | |
10 | |
], | |
[ | |
6, | |
14 | |
] | |
] | |
}, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "point", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.2, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "highway-minor-bridge-casing-blur", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
0 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
2 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
3 | |
] | |
], | |
"paint": { | |
"line-color": "#000000", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-translate": { | |
"stops": [ | |
[ | |
14, | |
[ | |
0, | |
0 | |
] | |
], | |
[ | |
17, | |
[ | |
5, | |
2 | |
] | |
] | |
] | |
}, | |
"line-opacity": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
14, | |
0.2, | |
17, | |
0.8, | |
18, | |
0 | |
], | |
"line-blur": { | |
"stops": [ | |
[ | |
14, | |
20 | |
], | |
[ | |
17, | |
25 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-secondary-bridge-casing-blur", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"!=", | |
"rnkWidth", | |
0 | |
], | |
[ | |
"!=", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#000000", | |
"line-translate": { | |
"stops": [ | |
[ | |
14, | |
[ | |
0, | |
0 | |
] | |
], | |
[ | |
17, | |
[ | |
5, | |
2 | |
] | |
] | |
] | |
}, | |
"line-opacity": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
14, | |
0.2, | |
17, | |
0.8, | |
18, | |
0 | |
], | |
"line-blur": { | |
"stops": [ | |
[ | |
14, | |
20 | |
], | |
[ | |
17, | |
25 | |
] | |
] | |
}, | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-primary-bridge-casing-blur", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#000000", | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
], | |
"line-translate": { | |
"stops": [ | |
[ | |
14, | |
[ | |
0, | |
0 | |
] | |
], | |
[ | |
17, | |
[ | |
5, | |
2 | |
] | |
] | |
] | |
}, | |
"line-opacity": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
14, | |
0.2, | |
17, | |
0.8, | |
18, | |
0 | |
], | |
"line-blur": { | |
"stops": [ | |
[ | |
14, | |
20 | |
], | |
[ | |
17, | |
25 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-motorway-bridge-casing-blur", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 6, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"motorway", | |
1 | |
], | |
[ | |
"==", | |
"rdCtg", | |
3 | |
] | |
] | |
], | |
[ | |
"==", | |
"ftCode", | |
52703 | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#000000", | |
"line-translate": { | |
"stops": [ | |
[ | |
14, | |
[ | |
0, | |
0 | |
] | |
], | |
[ | |
17, | |
[ | |
5, | |
2 | |
] | |
] | |
] | |
}, | |
"line-opacity": { | |
"stops": [ | |
[ | |
14, | |
0.2 | |
], | |
[ | |
17, | |
0.6 | |
] | |
] | |
}, | |
"line-blur": { | |
"stops": [ | |
[ | |
14, | |
20 | |
], | |
[ | |
17, | |
30 | |
] | |
] | |
}, | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-motorway-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 4, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
2700 | |
], | |
[ | |
"<", | |
"ftCode", | |
2800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
2702 | |
], | |
[ | |
"!=", | |
"ftCode", | |
2703 | |
], | |
[ | |
"!=", | |
"ftCode", | |
2704 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"motorway", | |
1 | |
], | |
[ | |
"==", | |
"rdCtg", | |
3 | |
] | |
] | |
], | |
[ | |
"==", | |
"ftCode", | |
52703 | |
] | |
], | |
"layout": { | |
"line-cap": "butt", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#4ed19e", | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
], | |
"line-opacity": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0.6, | |
11, | |
1 | |
] | |
} | |
}, | |
{ | |
"id": "highway-minor", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
2700 | |
], | |
[ | |
"<", | |
"ftCode", | |
2800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
2704 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": [ | |
"step", | |
[ | |
"zoom" | |
], | |
"#ffffff", | |
16, | |
"#f5f5f5" | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
13.5, | |
0, | |
14, | |
1.2, | |
16, | |
2.2, | |
20, | |
16 | |
] | |
} | |
}, | |
{ | |
"id": "highway-secondary", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"any", | |
[ | |
"==", | |
"ftCode", | |
2701 | |
] | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
3 | |
], | |
[ | |
"any", | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
], | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
] | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": [ | |
"step", | |
[ | |
"zoom" | |
], | |
"#ffffff", | |
16, | |
"#f5f5f5" | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.5, | |
12, | |
0.8, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "highway-primary", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"ftCode", | |
2701 | |
] | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
3 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2, | |
6 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": [ | |
"step", | |
[ | |
"zoom" | |
], | |
"#ffffff", | |
16, | |
"#f5f5f5" | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.5, | |
12, | |
0.8, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "road-outline", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
2200 | |
], | |
[ | |
"<", | |
"ftCode", | |
2700 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#DDDDDD", | |
"line-width": 2 | |
} | |
}, | |
{ | |
"id": "highway-motorway", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 6, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
2700 | |
], | |
[ | |
"<", | |
"ftCode", | |
2800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
2702 | |
], | |
[ | |
"!=", | |
"ftCode", | |
2703 | |
], | |
[ | |
"!=", | |
"ftCode", | |
2704 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"motorway", | |
1 | |
], | |
[ | |
"==", | |
"rdCtg", | |
3 | |
] | |
] | |
], | |
[ | |
"==", | |
"ftCode", | |
52703 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
6, | |
"#00A54E", | |
13, | |
"#3dcc80" | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
6, | |
2, | |
8, | |
2, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "structurea-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "structurea", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Polygon" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#DEDEDE", | |
"line-width": { | |
"stops": [ | |
[ | |
15, | |
1 | |
], | |
[ | |
18, | |
3 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "structurea", | |
"type": "fill", | |
"source": "gsi-japan", | |
"source-layer": "structurea", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Polygon" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "#FAFAFA" | |
} | |
}, | |
{ | |
"id": "highway-secondary-tunnel-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 4, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"ftCode", | |
2704 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
3 | |
], | |
[ | |
"any", | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
], | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
] | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#9C9DA2", | |
"line-dasharray": [ | |
0.5, | |
0.25 | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-secondary-tunnel", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 4, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"ftCode", | |
2704 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
3 | |
], | |
[ | |
"any", | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
], | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
] | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#D8D8D8", | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.5, | |
12, | |
0.8, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "highway-primary-tunnel-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2704 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#9C9DA2", | |
"line-dasharray": [ | |
0.5, | |
0.25 | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-primary-tunnel", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2704 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#D8D8D8", | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.5, | |
12, | |
0.8, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "highway-motorway-tunnel-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 6, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"ftCode", | |
2704 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"motorway", | |
1 | |
], | |
[ | |
"==", | |
"rdCtg", | |
3 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#9C9DA2", | |
"line-dasharray": [ | |
0.5, | |
0.25 | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-motorway-tunnel", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 6, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"ftCode", | |
2704 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"motorway", | |
1 | |
], | |
[ | |
"==", | |
"rdCtg", | |
3 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": { | |
"stops": [ | |
[ | |
8, | |
"#00A54E" | |
], | |
[ | |
13, | |
"#D8D8D8" | |
] | |
] | |
}, | |
"line-width": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
6, | |
2, | |
8, | |
2, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "highway-minor-bridge-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
0 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
2 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
3 | |
] | |
], | |
"paint": { | |
"line-color": "#f8f4f0", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-minor-bridge", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
0 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
1 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
2 | |
], | |
[ | |
"!=", | |
"rdCtg", | |
3 | |
] | |
], | |
"paint": { | |
"line-color": [ | |
"step", | |
[ | |
"zoom" | |
], | |
"#ffffff", | |
16, | |
"#f5f5f5" | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1.5, | |
0.75 | |
] | |
} | |
}, | |
{ | |
"id": "highway-secondary-bridge-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"!=", | |
"rnkWidth", | |
0 | |
], | |
[ | |
"!=", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(222, 222, 222, 1)", | |
"line-opacity": 1, | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-secondary-bridge", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"!=", | |
"rnkWidth", | |
0 | |
], | |
[ | |
"!=", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": [ | |
"step", | |
[ | |
"zoom" | |
], | |
"#ffffff", | |
16, | |
"#f5f5f5" | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.5, | |
12, | |
0.8, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "highway-primary-bridge-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(222, 222, 222, 1)", | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-primary-bridge", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 7, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"==", | |
"rnkWidth", | |
4 | |
], | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"!=", | |
"motorway", | |
1 | |
], | |
[ | |
"in", | |
"rdCtg", | |
0, | |
1, | |
2 | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"ftCode", | |
52700 | |
], | |
[ | |
"<", | |
"ftCode", | |
52800 | |
], | |
[ | |
"!=", | |
"ftCode", | |
52703 | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": [ | |
"step", | |
[ | |
"zoom" | |
], | |
"#ffffff", | |
16, | |
"#f5f5f5" | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.5, | |
12, | |
0.8, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "highway-motorway-bridge-casing", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 6, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"motorway", | |
1 | |
], | |
[ | |
"==", | |
"rdCtg", | |
3 | |
] | |
] | |
], | |
[ | |
"==", | |
"ftCode", | |
52703 | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#4ed19e", | |
"line-opacity": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
11, | |
1 | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.6, | |
12, | |
0.9, | |
14, | |
4, | |
16, | |
14, | |
18, | |
24, | |
19, | |
72, | |
20, | |
166 | |
] | |
} | |
}, | |
{ | |
"id": "highway-motorway-bridge", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "road", | |
"minzoom": 6, | |
"filter": [ | |
"any", | |
[ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2702, | |
2703 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"motorway", | |
1 | |
], | |
[ | |
"==", | |
"rdCtg", | |
3 | |
] | |
] | |
], | |
[ | |
"==", | |
"ftCode", | |
52703 | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
6, | |
"#00A54E", | |
13, | |
"#3dcc80" | |
], | |
"line-width": [ | |
"interpolate", | |
[ | |
"exponential", | |
0.9 | |
], | |
[ | |
"zoom" | |
], | |
8, | |
0, | |
9, | |
0.5, | |
12, | |
0.8, | |
14, | |
3, | |
16, | |
10, | |
18, | |
20, | |
19, | |
68, | |
20, | |
160 | |
] | |
} | |
}, | |
{ | |
"id": "railway-subway", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 13, | |
"filter": [ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"2" | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40203000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40204000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40203000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40204000000" | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#9dabdd", | |
"line-opacity": 1, | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "railway-tunnel", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
100, | |
200, | |
300, | |
2, | |
3, | |
4 | |
] | |
], | |
"paint": { | |
"line-color": "#908150", | |
"line-opacity": 0.6, | |
"line-width": { | |
"stops": [ | |
[ | |
10, | |
1 | |
], | |
[ | |
22, | |
3 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
2 | |
] | |
} | |
}, | |
{ | |
"id": "railway-minor", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
0, | |
200, | |
400, | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40218000000" | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-width": { | |
"stops": [ | |
[ | |
10, | |
1 | |
], | |
[ | |
22, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-minor-hatching", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
0, | |
200, | |
400, | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40218000000" | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-dasharray": [ | |
0.2, | |
1.5 | |
], | |
"line-width": { | |
"stops": [ | |
[ | |
10, | |
4 | |
], | |
[ | |
22, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-secondary", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
0, | |
200, | |
400, | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40205000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40218000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40205000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-width": { | |
"stops": [ | |
[ | |
10, | |
1 | |
], | |
[ | |
22, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-secondary-hatching", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
0, | |
200, | |
400, | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40205000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40218000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40205000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-dasharray": [ | |
0.2, | |
1.5 | |
], | |
"line-width": { | |
"stops": [ | |
[ | |
10, | |
4 | |
], | |
[ | |
22, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-jr", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
0, | |
200, | |
400, | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"==", | |
"rtCode10", | |
"1" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40217000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40217000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-width": { | |
"stops": [ | |
[ | |
6, | |
2 | |
], | |
[ | |
10, | |
3 | |
], | |
[ | |
18, | |
4 | |
], | |
[ | |
22, | |
20 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-jr-hatching", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
0, | |
200, | |
400, | |
4, | |
5, | |
6, | |
7 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"==", | |
"rtCode10", | |
"1" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40217000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40217000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#FFFFFF", | |
"line-dasharray": [ | |
3, | |
4 | |
], | |
"line-width": { | |
"stops": [ | |
[ | |
6, | |
1 | |
], | |
[ | |
10, | |
2 | |
], | |
[ | |
18, | |
3 | |
], | |
[ | |
22, | |
19 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-jr-bridge", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"railState", | |
1 | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40217000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40217000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-width": { | |
"stops": [ | |
[ | |
6, | |
2 | |
], | |
[ | |
10, | |
3 | |
], | |
[ | |
18, | |
4 | |
], | |
[ | |
22, | |
20 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-secondary-bridge", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
1 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"==", | |
"rtCode10", | |
"1" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40205000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40218000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40205000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40218000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-width": { | |
"stops": [ | |
[ | |
10, | |
1 | |
], | |
[ | |
22, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-secondary-bridge-hatching", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"railState", | |
1 | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"0" | |
], | |
[ | |
"==", | |
"rtCode10", | |
"1" | |
], | |
[ | |
"!has", | |
"rtCode10" | |
] | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40202000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40203000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40205000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40206000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40205000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40218000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40204000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40205000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40217000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40218000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#999999", | |
"line-dasharray": [ | |
0.2, | |
1.5 | |
], | |
"line-width": { | |
"stops": [ | |
[ | |
10, | |
4 | |
], | |
[ | |
22, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-jr-bridge-hatching", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"railState", | |
1 | |
], | |
[ | |
"any", | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40201000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40202000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode", | |
"40217000000" | |
] | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"rtCode1", | |
"40216000000" | |
], | |
[ | |
"<", | |
"rtCode1", | |
"40217000000" | |
] | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#FFFFFF", | |
"line-dasharray": [ | |
3, | |
4 | |
], | |
"line-width": { | |
"stops": [ | |
[ | |
6, | |
1 | |
], | |
[ | |
10, | |
2 | |
], | |
[ | |
18, | |
3 | |
], | |
[ | |
22, | |
19 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-jr-high-speed", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 5, | |
"filter": [ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"1" | |
], | |
[ | |
"==", | |
"ftCode", | |
58203 | |
], | |
[ | |
"==", | |
"ftCode", | |
58204 | |
] | |
], | |
"paint": { | |
"line-color": "#5747C7", | |
"line-width": { | |
"stops": [ | |
[ | |
5, | |
2 | |
], | |
[ | |
10, | |
3 | |
], | |
[ | |
18, | |
4 | |
], | |
[ | |
22, | |
20 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway-jr-high-speed-hatching", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "railway", | |
"minzoom": 5, | |
"filter": [ | |
"any", | |
[ | |
"==", | |
"rtCode10", | |
"1" | |
], | |
[ | |
"==", | |
"ftCode", | |
58203 | |
], | |
[ | |
"==", | |
"ftCode", | |
58204 | |
] | |
], | |
"paint": { | |
"line-color": "#FFFFFF", | |
"line-dasharray": [ | |
3, | |
4 | |
], | |
"line-width": { | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
10, | |
2 | |
], | |
[ | |
18, | |
3 | |
], | |
[ | |
22, | |
19 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "boundary-sea", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "boundary", | |
"minzoom": 6, | |
"maxzoom": 8, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
51221 | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#9e9cab", | |
"line-dasharray": [ | |
4, | |
1, | |
1, | |
1 | |
], | |
"line-width": 2 | |
} | |
}, | |
{ | |
"id": "boundary", | |
"type": "line", | |
"source": "gsi-japan", | |
"source-layer": "boundary", | |
"minzoom": 6, | |
"maxzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
1211, | |
1212, | |
51212 | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(68,68,68,0.7)", | |
"line-dasharray": [ | |
3, | |
1, | |
1, | |
1 | |
], | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
8, | |
1.2 | |
], | |
[ | |
12, | |
2 | |
] | |
] | |
}, | |
"line-opacity": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
6, | |
1, | |
14, | |
0.1 | |
] | |
} | |
}, | |
{ | |
"id": "poi", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
">", | |
"rank", | |
25 | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle" | |
] | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"text-variable-anchor": [ | |
"top", | |
"bottom", | |
"left", | |
"right" | |
], | |
"text-radial-offset": 0.7, | |
"text-justify": "center", | |
"text-anchor": "center" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-z15", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"in", | |
"class", | |
"bank", | |
"parking", | |
"grocery", | |
"shop", | |
"school", | |
"hospital" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-z14", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"in", | |
"class", | |
"college", | |
"castle", | |
"aquarium", | |
"cinema", | |
"theatre", | |
"zoo", | |
"convenience", | |
"lodging" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-z13", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"in", | |
"class", | |
"stadium", | |
"landmark", | |
"monument", | |
"museum", | |
"town_hall", | |
"golf" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-worship", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"!has", | |
"wikidata" | |
], | |
[ | |
"in", | |
"class", | |
"place_of_worship" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-worship-primary", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"has", | |
"wikidata" | |
], | |
[ | |
"in", | |
"class", | |
"place_of_worship" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"icon-padding": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
11, | |
30, | |
15, | |
2 | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-park", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"!has", | |
"wikidata" | |
], | |
[ | |
"in", | |
"class", | |
"park" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-park-primary", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"has", | |
"wikidata" | |
], | |
[ | |
"in", | |
"class", | |
"park" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
[ | |
"get", | |
"class" | |
] | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"icon-padding": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
11, | |
15, | |
15, | |
2 | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-railway", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "poi", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"==", | |
"class", | |
"railway" | |
], | |
[ | |
"==", | |
"subclass", | |
"station" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans CJK JP Bold" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
"railway" | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"icon-padding": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
11, | |
50, | |
13, | |
30, | |
15, | |
2 | |
], | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"icon-optional": false, | |
"icon-ignore-placement": false, | |
"icon-allow-overlap": false, | |
"text-ignore-placement": false, | |
"text-allow-overlap": false, | |
"text-optional": true | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#415CBD", | |
"text-halo-width": 2, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "poi-airport-primary", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "aerodrome_label", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"has", | |
"iata" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "airport", | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"icon-size": 1, | |
"text-optional": true, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "label-gsi", | |
"type": "symbol", | |
"source": "gsi-japan", | |
"source-layer": "label", | |
"minzoom": 10, | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
100, | |
50100 | |
], | |
[ | |
"in", | |
"annoCtg", | |
311, | |
314, | |
315 | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-anchor": "bottom", | |
"icon-image": [ | |
"coalesce", | |
[ | |
"image", | |
"mountain" | |
], | |
[ | |
"image", | |
"circle-stroked" | |
] | |
], | |
"icon-padding": [ | |
"interpolate", | |
[ | |
"linear" | |
], | |
[ | |
"zoom" | |
], | |
8, | |
50, | |
11, | |
100, | |
20, | |
2 | |
], | |
"text-field": "{knj}", | |
"text-offset": [ | |
0, | |
0.3 | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "road_shield_national", | |
"type": "symbol", | |
"source": "gsi-japan", | |
"source-layer": "transp", | |
"minzoom": 9, | |
"maxzoom": 20, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2901 | |
] | |
], | |
"layout": { | |
"icon-image": [ | |
"match", | |
[ | |
"length", | |
[ | |
"to-string", | |
[ | |
"get", | |
"nRNo" | |
] | |
] | |
], | |
1, | |
"national-JP_1", | |
2, | |
"national-JP_2", | |
3, | |
"national-JP_3", | |
"national-JP_3" | |
], | |
"icon-padding": 13, | |
"text-field": [ | |
"get", | |
"nRNo" | |
], | |
"text-font": [ | |
"Noto Sans CJK JP Bold" | |
], | |
"text-offset": [ | |
0, | |
-0.1 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-size": 10, | |
"icon-size": 1 | |
}, | |
"paint": { | |
"text-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "road_shield_highway", | |
"type": "symbol", | |
"source": "gsi-japan", | |
"source-layer": "transp", | |
"minzoom": 8, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ftCode", | |
2903, | |
2904 | |
] | |
], | |
"layout": { | |
"icon-image": [ | |
"match", | |
[ | |
"length", | |
[ | |
"case", | |
[ | |
"has", | |
"uRNo" | |
], | |
[ | |
"get", | |
"uRNo" | |
], | |
[ | |
"has", | |
"nRNo" | |
], | |
[ | |
"get", | |
"nRNo" | |
], | |
"" | |
] | |
], | |
1, | |
"highway-JP_1", | |
2, | |
"highway-JP_2", | |
3, | |
"highway-JP_3", | |
"highway-JP_3" | |
], | |
"icon-rotation-alignment": "viewport", | |
"icon-padding": 13, | |
"text-field": [ | |
"case", | |
[ | |
"has", | |
"uRNo" | |
], | |
[ | |
"get", | |
"uRNo" | |
], | |
[ | |
"has", | |
"nRNo" | |
], | |
[ | |
"get", | |
"nRNo" | |
], | |
"" | |
], | |
"text-font": [ | |
"Noto Sans CJK JP Bold" | |
], | |
"text-offset": [ | |
0, | |
-0.1 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-size": 10, | |
"icon-size": 1 | |
}, | |
"paint": { | |
"text-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "railway-label", | |
"type": "symbol", | |
"source": "gsi-japan", | |
"source-layer": "label", | |
"minzoom": 10, | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"ftCode", | |
100 | |
], | |
[ | |
"==", | |
"annoCtg", | |
421 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-keep-upright": true, | |
"text-field": "{knj}", | |
"text-size": 12, | |
"text-allow-overlap": true, | |
"text-rotate": [ | |
"case", | |
[ | |
"==", | |
[ | |
"get", | |
"arrng" | |
], | |
2 | |
], | |
[ | |
"*", | |
[ | |
"+", | |
[ | |
"to-number", | |
[ | |
"get", | |
"arrngAgl" | |
] | |
], | |
90 | |
], | |
-1 | |
], | |
[ | |
"*", | |
[ | |
"to-number", | |
[ | |
"get", | |
"arrngAgl" | |
] | |
], | |
-1 | |
] | |
], | |
"text-anchor": [ | |
"case", | |
[ | |
"==", | |
[ | |
"get", | |
"arrng" | |
], | |
2 | |
], | |
[ | |
"case", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"LC" | |
], | |
"top", | |
"center" | |
], | |
[ | |
"case", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"LT" | |
], | |
"top-left", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"CT" | |
], | |
"top", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"RT" | |
], | |
"top-right", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"LC" | |
], | |
"left", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"CC" | |
], | |
"center", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"RC" | |
], | |
"right", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"LB" | |
], | |
"bottom-left", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"CB" | |
], | |
"bottom", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"RB" | |
], | |
"bottom-right", | |
"center" | |
] | |
], | |
"text-pitch-alignment": "viewport", | |
"text-rotation-alignment": "viewport", | |
"icon-pitch-alignment": "auto", | |
"icon-rotation-alignment": "auto", | |
"text-offset": [ | |
"case", | |
[ | |
"any", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"LT" | |
], | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"LC" | |
], | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"LB" | |
] | |
], | |
[ | |
"literal", | |
[ | |
0.5, | |
0 | |
] | |
], | |
[ | |
"any", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"RT" | |
], | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"RC" | |
], | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"RB" | |
] | |
], | |
[ | |
"literal", | |
[ | |
-0.5, | |
0 | |
] | |
], | |
[ | |
"any", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"CT" | |
] | |
], | |
[ | |
"literal", | |
[ | |
0, | |
0.5 | |
] | |
], | |
[ | |
"any", | |
[ | |
"==", | |
[ | |
"get", | |
"dspPos" | |
], | |
"CB" | |
] | |
], | |
[ | |
"literal", | |
[ | |
0, | |
-0.5 | |
] | |
], | |
[ | |
"literal", | |
[ | |
0, | |
0 | |
] | |
] | |
], | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "rgba(68, 68, 68, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "airport-label-major", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "aerodrome_label", | |
"minzoom": 5, | |
"filter": [ | |
"all", | |
[ | |
"has", | |
"iata" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "airport", | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 12, | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "#ffffff" | |
} | |
}, | |
{ | |
"id": "place-village", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 9, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"village" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
10, | |
12 | |
], | |
[ | |
15, | |
22 | |
] | |
] | |
}, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "#333", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-town", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 8.5, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"town" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 12, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-island-name", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
[ | |
"get", | |
"class" | |
], | |
"island" | |
], | |
[ | |
"!=", | |
[ | |
"get", | |
"disputed" | |
], | |
"japan_northern_territories" | |
], | |
[ | |
"any", | |
[ | |
"!=", | |
[ | |
"get", | |
"subclass" | |
], | |
"islet" | |
], | |
[ | |
">=", | |
[ | |
"zoom" | |
], | |
16 | |
] | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 11, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank10", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 8, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
10 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank9", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 8, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
9 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank8", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 8, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
8 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank7", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 8, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
7 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank6", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 11, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
6 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank5", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 10, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
5 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank4", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 9, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
4 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.3, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 14, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank3", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 8, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
3 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle", | |
"icon-size": 0.4, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.1 | |
], | |
"text-font": [ | |
"Noto Sans Regular" | |
], | |
"text-size": 16, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(102, 102, 102, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-rank2", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"minzoom": 8, | |
"maxzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"==", | |
"rank", | |
2 | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"icon-image": "circle-stroked", | |
"icon-size": 0.8, | |
"text-anchor": "top", | |
"text-offset": [ | |
0, | |
0.2 | |
], | |
"text-font": [ | |
"Noto Sans CJK JP Bold" | |
], | |
"text-size": 17, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"icon-color": "#000000", | |
"icon-opacity": { | |
"stops": [ | |
[ | |
11.9, | |
1 | |
], | |
[ | |
12, | |
0 | |
] | |
] | |
}, | |
"text-color": "rgba(68, 68, 68, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city-capital", | |
"type": "symbol", | |
"source": "v3", | |
"source-layer": "place", | |
"maxzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
], | |
[ | |
"!=", | |
"disputed", | |
"japan_northern_territories" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Noto Sans CJK JP Bold" | |
], | |
"text-size": 18, | |
"text-field": [ | |
"string", | |
[ | |
"get", | |
"name:ja" | |
], | |
[ | |
"get", | |
"name" | |
] | |
], | |
"text-max-width": 8, | |
"icon-image": "star", | |
"text-offset": [ | |
0.4, | |
-0.1 | |
], | |
"icon-size": 1, | |
"text-anchor": "left", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#333", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "negative-city-mask-layer", | |
"type": "fill", | |
"source": "negative-city-mask", | |
"source-layer": "negativecitymask", | |
"paint": { | |
"fill-color": "#0079C4", | |
"fill-opacity": 0.3 | |
} | |
}, | |
{ | |
"id": "negative-city-mask-layer-border", | |
"type": "line", | |
"source": "negative-city-mask", | |
"source-layer": "negativecitymask", | |
"paint": { | |
"line-color": "#0079C4", | |
"line-opacity": 0.5, | |
"line-width": 2 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment