Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"version": 8,
"sources": {
"openmaptiles-japan": {
"type": "vector",
"tiles": ["http://localhost:8080/osm_tiles/{z}/{x}/{y}.pbf"],
"minzoom": 0,
"maxzoom": 14
},
"okegawa_point": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
139.523889,
35.975278
]
}
}
},
"layers": [
{
"id": "water",
"source": "openmaptiles-japan",
"source-layer": "water",
"interactive": true,
"type": "line",
"paint": {
"line-color": "#0761FC"
}
},
{
"id": "aeroway",
"source": "openmaptiles-japan",
"source-layer": "aeroway",
"interactive": true,
"type": "line",
"paint": {
"line-color": "#FC7907",
"line-width": 5
}
},
{
"id": "boundary",
"source": "openmaptiles-japan",
"source-layer": "boundary",
"interactive": true,
"type": "line",
"paint": {
"line-color": "#66FF99",
"line-width": 1
}
},
{
"id": "transportation",
"source": "openmaptiles-japan",
"source-layer": "transportation",
"interactive": true,
"type": "line",
"paint": {
"line-color": "#660099",
"line-width": 1
}
},
{
"id": "okegawa_point",
"type": "circle",
"source": "okegawa_point",
"paint": {
"circle-radius": 10,
"circle-color": "#007CBF"
},
"minzoom": 3
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.