Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Display path areas
Browse files Browse the repository at this point in the history
  • Loading branch information
Helium314 authored Feb 16, 2023
1 parent 6e96d41 commit 992b732
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions layers/land.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ layers:
width: [[15, 1px], [18, 2m]]

pedestrian-areas:
data: { source: jawg , layer: road }
data: { source: jawg, layer: road }
squares:
filter: { class: street_limited, type: pedestrian , $zoom: { min: 14 } }
filter: { class: street_limited, type: pedestrian, $zoom: { min: 14 } }
draw:
lines:
color: global.square_outline_color
Expand All @@ -128,6 +128,15 @@ layers:
color: global.square_color
order: 31

path-areas:
data: { source: jawg, layer: road }
squares:
filter: { class: path, $zoom: { min: 14 } }
draw:
polygons:
color: global.square_color
order: 31

bridges:
data: { source: jawg, layer: structure }
filter: { class: bridge }
Expand Down

0 comments on commit 992b732

Please sign in to comment.