Skip to content

Commit

Permalink
tweak zoom change and border color
Browse files Browse the repository at this point in the history
  • Loading branch information
dschep committed Jan 10, 2025
1 parent 393263a commit 9522d59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/sev1_median_duration.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ style:
beforeLayerId: places_subplace
source: boundary
line-width: 2
line-color: white
- type: fill
beforeLayerId: places_subplace
maxzoom: 13
maxzoom: 11
filter: [==, [get, resolution], 8]
fill-opacity:
- interpolate
Expand All @@ -32,7 +33,7 @@ style:
fill-color: red
- type: fill
beforeLayerId: places_subplace
minzoom: 13
minzoom: 11
filter: [==, [get, resolution], 9]
fill-opacity:
- interpolate
Expand Down
5 changes: 3 additions & 2 deletions docs/sev2_median_duration.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ style:
beforeLayerId: places_subplace
source: boundary
line-width: 2
line-color: white
- type: fill
beforeLayerId: places_subplace
maxzoom: 13
maxzoom: 11
filter: [==, [get, resolution], 8]
fill-opacity:
- interpolate
Expand All @@ -32,7 +33,7 @@ style:
fill-color: orange
- type: fill
beforeLayerId: places_subplace
minzoom: 13
minzoom: 11
filter: [==, [get, resolution], 9]
fill-opacity:
- interpolate
Expand Down
5 changes: 3 additions & 2 deletions docs/sev3_median_duration.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ style:
beforeLayerId: places_subplace
source: boundary
line-width: 2
line-color: white
- type: fill
beforeLayerId: places_subplace
maxzoom: 13
maxzoom: 11
filter: [==, [get, resolution], 8]
fill-opacity:
- interpolate
Expand All @@ -32,7 +33,7 @@ style:
fill-color: yellow
- type: fill
beforeLayerId: places_subplace
minzoom: 13
minzoom: 11
filter: [==, [get, resolution], 9]
fill-opacity:
- interpolate
Expand Down

0 comments on commit 9522d59

Please sign in to comment.