Created
November 23, 2019 02:12
-
-
Save hfu/6035883bac611efa276acde8992df1a8 to your computer and use it in GitHub Desktop.
Mapbox Studio で地理院地図 Vector タイルを読ませるテストの style.json
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 Maps Vector", | |
"metadata": { | |
"mapbox:autocomposite": true, | |
"mapbox:type": "template", | |
"mapbox:sdk-support": { | |
"js": "0.54.0", | |
"android": "7.4.0", | |
"ios": "4.11.0" | |
}, | |
"mapbox:groups": {} | |
}, | |
"center": [139.71, 35.70], | |
"zoom": 8, | |
"bearing": 0, | |
"pitch": 0, | |
"sources": { | |
"v": { | |
"attribution": "Source: GSI Maps Vector", | |
"maxzoom": 14, | |
"minzoom": 7, | |
"tiles": [ | |
"https://cyberjapandata.gsi.go.jp/xyz/experimental_bvmap/{z}/{x}/{y}.pbf" | |
], | |
"url": "mapbox://mapbox.mapbox-streets-v7", | |
"type": "vector" | |
} | |
}, | |
"sprite": "mapbox://sprites/hfu/ck3awhhd81jn01cqidr247192/ck2u8j60r58fu0sgyxrigm3cu", | |
"glyphs": "https://optgeo.github.io/bvmap714/fonts/{fontstack}/{range}.pbf", | |
"layers": [ | |
{ | |
"id": "background", | |
"paint": { | |
"background-color": [ | |
"rgb", | |
243, | |
245, | |
250 | |
] | |
}, | |
"type": "background" | |
}, | |
{ | |
"id": "lake", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
20, | |
90, | |
255 | |
] | |
}, | |
"source": "v", | |
"source-layer": "lake", | |
"type": "line" | |
}, | |
{ | |
"id": "landforma", | |
"layout": {}, | |
"paint": { | |
"fill-color": [ | |
"rgb", | |
20, | |
90, | |
255 | |
] | |
}, | |
"source": "v", | |
"source-layer": "landforma", | |
"type": "fill" | |
}, | |
{ | |
"id": "building", | |
"layout": {}, | |
"paint": { | |
"fill-extrusion-color": [ | |
"rgb", | |
255, | |
240, | |
190 | |
], | |
"fill-extrusion-height": 25 | |
}, | |
"source": "v", | |
"source-layer": "building", | |
"type": "fill-extrusion" | |
}, | |
{ | |
"id": "structurea", | |
"layout": {}, | |
"paint": { | |
"fill-extrusion-color": [ | |
"rgb", | |
255, | |
135, | |
75 | |
], | |
"fill-extrusion-height": 25 | |
}, | |
"source": "v", | |
"source-layer": "structurea", | |
"type": "fill-extrusion" | |
}, | |
{ | |
"id": "coastline", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
20, | |
90, | |
255 | |
] | |
}, | |
"source": "v", | |
"source-layer": "coastline", | |
"type": "line" | |
}, | |
{ | |
"id": "river", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
20, | |
90, | |
255 | |
] | |
}, | |
"source": "v", | |
"source-layer": "river", | |
"type": "line" | |
}, | |
{ | |
"id": "searoute", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
0, | |
0, | |
0 | |
], | |
"line-dasharray": [ | |
6, | |
6 | |
] | |
}, | |
"source": "v", | |
"source-layer": "searoute", | |
"type": "line" | |
}, | |
{ | |
"id": "contour", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
200, | |
160, | |
60 | |
] | |
}, | |
"source": "v", | |
"source-layer": "contour", | |
"type": "line" | |
}, | |
{ | |
"id": "landforml", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
200, | |
160, | |
60 | |
] | |
}, | |
"source": "v", | |
"source-layer": "landforml", | |
"type": "line" | |
}, | |
{ | |
"id": "boundary", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
68, | |
0, | |
128 | |
] | |
}, | |
"source": "v", | |
"source-layer": "boundary", | |
"type": "line" | |
}, | |
{ | |
"id": "road", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
100, | |
100, | |
100 | |
] | |
}, | |
"source": "v", | |
"source-layer": "road", | |
"type": "line" | |
}, | |
{ | |
"id": "railway", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
0, | |
0, | |
0 | |
] | |
}, | |
"source": "v", | |
"source-layer": "railway", | |
"type": "line" | |
}, | |
{ | |
"id": "structurel", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
0, | |
0, | |
0 | |
] | |
}, | |
"source": "v", | |
"source-layer": "structurel", | |
"type": "line" | |
}, | |
{ | |
"id": "transl", | |
"layout": {}, | |
"paint": { | |
"line-color": [ | |
"rgb", | |
0, | |
0, | |
0 | |
] | |
}, | |
"source": "v", | |
"source-layer": "transl", | |
"type": "line" | |
}, | |
{ | |
"id": "landformp", | |
"layout": { | |
"icon-image": "refugee" | |
}, | |
"paint": {}, | |
"source": "v", | |
"source-layer": "landformp", | |
"type": "symbol" | |
}, | |
{ | |
"id": "transp", | |
"layout": { | |
"icon-image": "bus_station" | |
}, | |
"paint": {}, | |
"source": "v", | |
"source-layer": "transp", | |
"type": "symbol" | |
}, | |
{ | |
"id": "symbol", | |
"layout": { | |
"icon-image": "default" | |
}, | |
"paint": {}, | |
"source": "v", | |
"source-layer": "symbol", | |
"type": "symbol" | |
}, | |
{ | |
"id": "label", | |
"layout": { | |
"icon-image": "un" | |
}, | |
"paint": {}, | |
"source": "v", | |
"source-layer": "label", | |
"type": "symbol" | |
} | |
], | |
"created": "2019-11-23T01:34:14.591Z", | |
"id": "ck3awhhd81jn01cqidr247192", | |
"modified": "2019-11-23T01:43:29.873Z", | |
"owner": "hfu", | |
"visibility": "public", | |
"draft": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment