Skip to content

Commit

Permalink
Construction
Browse files Browse the repository at this point in the history
Representing construction areas and roads under construction
  • Loading branch information
valleyofdawn authored and zstadler committed Jun 19, 2021
1 parent c72719f commit a9562cb
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions Styles/ilMTB.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,31 @@
"fill-outline-color": "rgba(187, 187, 187, 1)"
}
},
{
"id": "land-construction",
"type": "fill",
"source": "IHM",
"source-layer": "landuse",
"minzoom": 9,
"filter": ["all", ["in", "class", "construction"]],
"paint": {
"fill-color": "rgba(192, 192, 192, 1)",
"fill-outline-color": "rgba(170, 170, 170, 1)"
}
},
{
"id": "land-construction-pattern",
"type": "symbol",
"source": "IHM",
"source-layer": "landuse",
"minzoom": 14,
"filter": ["all", ["in", "class", "construction"]],
"layout": {
"icon-image": "construction",
"icon-size": {"stops": [[14, 0.5], [21, 2]]}
},
"paint": {}
},
{
"id": "land_sand",
"type": "fill",
Expand Down Expand Up @@ -762,6 +787,37 @@
"line-width": {"base": 1.4, "stops": [[4, 1], [20, 55]]}
}
},
{
"id": "road_construction",
"type": "line",
"metadata": {"IHM:overlay": true},
"source": "IHM",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["in", "ilmtb_class", "minor_construction", "tertiary_construction"],
["!=", "brunnel", "tunnel"]
],
"paint": {"line-width": {"stops": [[14, 3], [16, 6], [20, 18]]}}
},
{
"id": "road_construction core",
"type": "line",
"metadata": {"IHM:overlay": true},
"source": "IHM",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
["in", "ilmtb_class", "minor_construction", "tertiary_construction"],
["!=", "brunnel", "tunnel"]
],
"paint": {
"line-color": "white",
"line-width": {"base": 1.55, "stops": [[14, 2], [20, 15]]}
}
},
{
"id": "track-paved-casing",
"type": "line",
Expand Down

0 comments on commit a9562cb

Please sign in to comment.