mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
add dedicated styling for waterway=flowline features, see #10283
This commit is contained in:
@@ -164,6 +164,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
|
||||
* Don't consider traffic_calming features as areas ([id-tagging-schema#1076])
|
||||
* Add rendering style for roller coaster tracks and supports ([#9891], thanks [@mangerlahn])
|
||||
* Drop `*:wikipedia` tags when switching to a new NSI-based preset which specifies a corresponding `*:wikidata` tag ([#9103])
|
||||
* Add rendering style for `waterway=flowline` features: as wide as rivers, but without border and slightly opaque ([#10283])
|
||||
|
||||
[#9103]: https://github.com/openstreetmap/iD/issues/9103
|
||||
[#9424]: https://github.com/openstreetmap/iD/pull/9424
|
||||
|
||||
+19
-6
@@ -67,26 +67,39 @@ path.line.stroke.tag-waterway {
|
||||
|
||||
|
||||
/* wide waterways (river) */
|
||||
path.line.shadow.tag-waterway-river {
|
||||
path.line.shadow.tag-waterway-river,
|
||||
path.line.shadow.tag-waterway-flowline {
|
||||
stroke-width: 20;
|
||||
}
|
||||
path.line.casing.tag-waterway-river {
|
||||
path.line.casing.tag-waterway-river,
|
||||
path.line.casing.tag-waterway-flowline {
|
||||
stroke-width: 10;
|
||||
}
|
||||
path.line.stroke.tag-waterway-river {
|
||||
path.line.stroke.tag-waterway-river,
|
||||
path.line.stroke.tag-waterway-flowline {
|
||||
stroke-width: 8;
|
||||
}
|
||||
|
||||
.low-zoom path.line.shadow.tag-waterway-river {
|
||||
.low-zoom path.line.shadow.tag-waterway-river,
|
||||
.low-zoom path.line.shadow.tag-waterway-flowline {
|
||||
stroke-width: 16;
|
||||
}
|
||||
.low-zoom path.line.casing.tag-waterway-river {
|
||||
.low-zoom path.line.casing.tag-waterway-river,
|
||||
.low-zoom path.line.casing.tag-waterway-flowline {
|
||||
stroke-width: 7;
|
||||
}
|
||||
.low-zoom path.line.stroke.tag-waterway-river {
|
||||
.low-zoom path.line.stroke.tag-waterway-river,
|
||||
.low-zoom path.line.stroke.tag-waterway-flowline {
|
||||
stroke-width: 5;
|
||||
}
|
||||
|
||||
path.line.stroke.tag-waterway-flowline {
|
||||
stroke-opacity: 0.5;
|
||||
}
|
||||
path.line.casing.tag-waterway-flowline {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* ditch */
|
||||
.preset-icon .icon.tag-waterway-ditch {
|
||||
|
||||
Reference in New Issue
Block a user