Skip to content

Commit

Permalink
Merge pull request #36 from embeepea/master
Browse files Browse the repository at this point in the history
render new major_roads2 layer at zoom levels 7-13
  • Loading branch information
embeepea authored Oct 28, 2020
2 parents 338dd18 + 596dfea commit 59cbd52
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions mbgl-antique-style.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@
},
{
"paint":{"line-color":"#444444","line-width":{"stops":[[14,6],[19,29]]}},
"source-layer":"roads",
"id":"roads_casing_major",
"source":"antique",
"source-layer":"roads",
"type":"line",
"filter": ["in", ["get", "type"], ["literal", ["motorway","trunk","primary","secondary"]]],
"minzoom":13,
"maxzoom":21
},
{
"paint":{"line-color":"#444444","line-width":{"stops":[[14,4],[19,24]]}},
"source-layer":"roads",
"id":"roads_casing_mid",
"source":"antique",
"source-layer":"roads",
"type":"line",
"filter": [ "match", ["get", "type"], ["trunk","primary","secondary" ],false,true ],
"minzoom":13,
Expand All @@ -116,6 +116,23 @@
"id":"roads_centre_mid",
"ref":"roads_casing_mid"
},

{
"paint":{"line-color":"#444444","line-width":{"stops":[[8,2],[14,6]]}},
"id":"roads_casing_major2",
"source":"antique",
"source-layer":"major_roads",
"type":"line",
"filter": ["in", ["get", "type"], ["literal", ["motorway","trunk","primary","secondary"]]],
"minzoom":7,
"maxzoom":13
},
{
"paint":{"line-color":"#e8e0c8","line-width":{"stops":[[8,1],[14,5]]}},
"id":"roads_centre_major2",
"ref":"roads_casing_major2"
},

{
"paint":{"fill-opacity":0.7,
"fill-color": [
Expand Down

0 comments on commit 59cbd52

Please sign in to comment.