Skip to content

Instantly share code, notes, and snippets.

@MojamojaK
Created January 13, 2018 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MojamojaK/30af4f03c7d5e51dfe055312073ec5ee to your computer and use it in GitHub Desktop.
Save MojamojaK/30af4f03c7d5e51dfe055312073ec5ee to your computer and use it in GitHub Desktop.
{
"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