Skip to content

Commit

Permalink
bigger aerialway gap width on high zooms
Browse files Browse the repository at this point in the history
  • Loading branch information
claysmalley committed Feb 3, 2023
1 parent 25fdea5 commit f26c795
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions src/layer/aerialway.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export const lift = {
["zoom"],
12,
0.6,
16,
1.2,
20,
2.4,
],
Expand All @@ -25,8 +27,10 @@ export const lift = {
["zoom"],
12,
0.5,
16,
1,
20,
2,
6,
],
},
filter: [
Expand Down Expand Up @@ -56,6 +60,8 @@ export const dragLift = {
["zoom"],
12,
1.5,
16,
3,
20,
6,
],
Expand Down Expand Up @@ -87,9 +93,22 @@ export const liftCasing = {
["exponential", aerialwayExp],
["zoom"],
12,
2.5,
1,
16,
2,
20,
4,
],
"line-gap-width": [
"interpolate",
["exponential", aerialwayExp],
["zoom"],
12,
0.01,
16,
0.01,
20,
10,
4.4,
],
},
filter: [
Expand Down

0 comments on commit f26c795

Please sign in to comment.