Skip to content

Instantly share code, notes, and snippets.

Created June 7, 2017 04:29
Show Gist options
  • Select an option

  • Save anonymous/802de901d775882026a3e04a2d5547a7 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/802de901d775882026a3e04a2d5547a7 to your computer and use it in GitHub Desktop.
fansee-test-lakers
{
"version": 8,
"name": "fansee-test-lakers",
"metadata": {
"mapbox:autocomposite": true,
"mapbox:type": "template"
},
"sources": {
"tilezen": {
"type": "vector",
"tiles": [
"http://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt?api_key=mapzen-hkj3a79"
],
"minZoom": 0,
"maxZoom": 15
},
"mapzen": {
"type": "vector",
"tiles": [
"http://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt?api_key=mapzen-hkj3a79"
],
"minZoom": 0,
"maxZoom": 14
}
},
"sprite": "https://raw.githubusercontent.com/osm2vectortiles/mapbox-gl-styles/master/sprites/basic-v9",
"glyphs": "https://raw.githubusercontent.com/osm2vectortiles/mapbox-gl-styles/master/glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"layout": {
"visibility": "visible"
},
"paint": {
"background-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "ocean-lines",
"type": "line",
"source": "mapzen",
"source-layer": "water",
"filter": [
"all",
[
"==",
"kind",
"ocean"
]
],
"layout": {},
"paint": {
"line-color": "rgba(95, 132, 142, 1)"
}
},
{
"id": "roads-rail",
"type": "line",
"source": "mapzen",
"source-layer": "roads",
"minzoom": 11,
"maxzoom": 24,
"filter": [
"all",
[
"==",
"kind",
"rail"
]
],
"layout": {
"line-cap": "butt",
"line-join": "miter",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(37, 16, 53, 1)",
"line-width": {
"stops": [
[
11,
0.5
],
[
22,
2
]
]
},
"line-translate-anchor": "map",
"line-gap-width": 1,
"line-offset": 0,
"line-blur": 2,
"line-pattern": ""
}
},
{
"id": "roads-minor",
"type": "line",
"source": "mapzen",
"source-layer": "roads",
"minzoom": 12,
"maxzoom": 24,
"filter": [
"all",
[
"==",
"kind",
"minor_road"
]
],
"layout": {},
"paint": {
"line-color": "rgba(85, 37, 130, 0.5)",
"line-width": {
"stops": [
[
12,
0.5
],
[
22,
2
]
]
}
}
},
{
"id": "roads-major-halo",
"type": "line",
"source": "mapzen",
"source-layer": "roads",
"minzoom": 10,
"filter": [
"all",
[
"==",
"kind",
"major_road"
]
],
"layout": {},
"paint": {
"line-color": "rgba(253,185,39, 1)",
"line-width": {
"stops": [
[
10,
0.5
],
[
22,
4
]
]
},
"line-opacity": {
"stops": [
[
10,
0.5
],
[
21,
1
]
]
}
}
},
{
"id": "roads-major",
"type": "line",
"source": "mapzen",
"source-layer": "roads",
"minzoom": 10,
"filter": [
"all",
[
"==",
"kind",
"major_road"
]
],
"layout": {},
"paint": {
"line-color": "rgba(85,37,130, 1)",
"line-width": {
"stops": [
[
10,
0.35
],
[
22,
3
]
]
}
}
},
{
"id": "roads-highway-motorway-halo",
"type": "line",
"source": "mapzen",
"source-layer": "roads",
"minzoom": 8,
"maxzoom": 24,
"filter": [
"all",
[
"==",
"kind",
"highway"
],
[
"==",
"kind_detail",
"motorway"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-round-limit": 4
},
"paint": {
"line-color": "rgba(111, 81, 17, 0.1)",
"line-width": {
"stops": [
[
8,
1
],
[
13,
3
],
[
23,
9
]
]
}
}
},
{
"id": "roads-highway-motorway",
"type": "line",
"source": "mapzen",
"source-layer": "roads",
"minzoom": 8,
"maxzoom": 24,
"filter": [
"all",
[
"==",
"kind",
"highway"
],
[
"==",
"kind_detail",
"motorway"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-round-limit": 4
},
"paint": {
"line-color": "rgba(253,185,39, 1)",
"line-width": {
"stops": [
[
8,
0.5
],
[
13,
2
],
[
23,
8
]
]
}
}
},
{
"id": "roads-highway-motorway-link",
"type": "line",
"source": "mapzen",
"source-layer": "roads",
"minzoom": 11,
"maxzoom": 24,
"filter": [
"all",
[
"==",
"kind",
"highway"
],
[
"==",
"kind_detail",
"motorway_link"
]
],
"layout": {
"line-join": "round",
"line-cap": "round",
"line-round-limit": 8
},
"paint": {
"line-color": "rgba(216, 158, 33, 0.94)",
"line-width": {
"stops": [
[
11,
0.2
],
[
13,
2
],
[
23,
8
]
]
},
"line-blur": 3
}
}
],
"modified": "2016-09-24T17:34:39.713Z",
"created": "2016-09-24T17:30:13.019Z",
"id": "uln157q4k",
"owner": "aburnes"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment