-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Move preserved railways and monorails from low-zoom layer #roads-low-zoom - Remove funicular rule that never gets hit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1230,6 +1230,48 @@ | |
} | ||
} | ||
|
||
|
||
[feature = 'railway_preserved'][zoom >= 12] { | ||
line-width: 1.5; | ||
line-color: #aaa; | ||
line-join: round; | ||
[zoom >= 13] { | ||
line-width: 3; | ||
line-color: #999999; | ||
b/line-width: 1; | ||
b/line-color: white; | ||
b/line-dasharray: 0,1,8,1; | ||
b/line-join: round; | ||
} | ||
} | ||
|
||
[feature = 'railway_INT-preserved-ssy'][zoom >= 12] { | ||
line-width: 1; | ||
line-color: #aaa; | ||
line-join: round; | ||
[zoom >= 13] { | ||
line-width: 2; | ||
line-color: #999999; | ||
b/line-width: 0.8; | ||
b/line-color: white; | ||
b/line-dasharray: 0,1,8,1; | ||
b/line-join: round; | ||
} | ||
} | ||
|
||
[feature = 'railway_monorail'][zoom >= 14] { | ||
line-width: 4; | ||
line-color: #fff; | ||
line-opacity: 0.4; | ||
line-cap: round; | ||
line-join: round; | ||
b/line-width: 3; | ||
b/line-color: #777; | ||
b/line-dasharray: 2,3; | ||
b/line-cap: round; | ||
b/line-join: round; | ||
} | ||
|
||
[feature = 'railway_disused'], | ||
[feature = 'railway_abandoned'], | ||
[feature = 'railway_construction'] { | ||
|
@@ -2146,55 +2188,13 @@ | |
|
||
[feature = 'railway_tram'], | ||
[feature = 'railway_light_rail'], | ||
[feature = 'railway_narrow_gauge'], | ||
[feature = 'railway_funicular'] { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
matthijsmelissen
Author
Owner
|
||
[feature = 'railway_narrow_gauge'] { | ||
[zoom >= 8][zoom < 13] { | ||
line-width: 1; | ||
line-color: #ccc; | ||
[zoom >= 10] { line-color: #aaa } | ||
} | ||
} | ||
|
||
[feature = 'railway_preserved'][zoom >= 12] { | ||
line-width: 1.5; | ||
line-color: #aaa; | ||
line-join: round; | ||
[zoom >= 13] { | ||
line-width: 3; | ||
line-color: #999999; | ||
b/line-width: 1; | ||
b/line-color: white; | ||
b/line-dasharray: 0,1,8,1; | ||
b/line-join: round; | ||
} | ||
} | ||
|
||
[feature = 'railway_INT-preserved-ssy'][zoom >= 12] { | ||
line-width: 1; | ||
line-color: #aaa; | ||
line-join: round; | ||
[zoom >= 13] { | ||
line-width: 2; | ||
line-color: #999999; | ||
b/line-width: 0.8; | ||
b/line-color: white; | ||
b/line-dasharray: 0,1,8,1; | ||
b/line-join: round; | ||
} | ||
} | ||
|
||
[feature = 'railway_monorail'][zoom >= 14] { | ||
line-width: 4; | ||
line-color: #fff; | ||
line-opacity: 0.4; | ||
line-cap: round; | ||
line-join: round; | ||
b/line-width: 3; | ||
b/line-color: #777; | ||
b/line-dasharray: 2,3; | ||
b/line-cap: round; | ||
b/line-join: round; | ||
} | ||
} | ||
|
||
#trams { | ||
|
I don't understand why you're removing the selector - 'funicular' appears in the roads-fill SQL query, and this selector appears within the #roads-fill layer.