diff --git a/Default.style/colors.mapcss b/Default.style/colors.mapcss index 3ddd7d7..66acfc8 100644 --- a/Default.style/colors.mapcss +++ b/Default.style/colors.mapcss @@ -144,3 +144,5 @@ @color_railway: #E6F8E0; // l: 0.1 @color_railway_dashes: #999; // l: 0.1 + +@color_waterway_dam: #2b2b2b; diff --git a/Default.style/colors_dark.mapcss b/Default.style/colors_dark.mapcss index 3b407bc..c8e7fe6 100644 --- a/Default.style/colors_dark.mapcss +++ b/Default.style/colors_dark.mapcss @@ -144,3 +144,5 @@ @color_railway: #1E4810; @color_railway_dashes: #7F7F7F; + +@color_waterway_dam: #2b2b2b; diff --git a/Default.style/lines.mapcss b/Default.style/lines.mapcss index fff4142..f05c214 100644 --- a/Default.style/lines.mapcss +++ b/Default.style/lines.mapcss @@ -607,6 +607,24 @@ line { } } + @if Sport + |z10-{ + [waterway=dam],[waterway=weir] { + color: @color_waterway_dam; + width: 1px; + + |z16- { + width: 2px; + |z20- { + text: eval(locTag("name")); + text-color: @color_waterway_dam; + width: 3px; + } + } + } + } + @endif // Sport + /******************** Line names *************************/ // road references diff --git a/Default.style/poi_dam.svg b/Default.style/poi_dam.svg new file mode 100644 index 0000000..86daa08 --- /dev/null +++ b/Default.style/poi_dam.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Default.style/poi_rapids.svg b/Default.style/poi_rapids.svg new file mode 100644 index 0000000..bb4b026 --- /dev/null +++ b/Default.style/poi_rapids.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/Default.style/poi_weir.svg b/Default.style/poi_weir.svg new file mode 100644 index 0000000..f176fa8 --- /dev/null +++ b/Default.style/poi_weir.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Default.style/points.mapcss b/Default.style/points.mapcss index 8f64de3..40ac33c 100644 --- a/Default.style/points.mapcss +++ b/Default.style/points.mapcss @@ -932,6 +932,34 @@ node,area { text: eval(locTag('name')); text-color: @color_text_activity; } + + @if Sport + |z16-{ + [waterway=dam] { + icon-image: "poi_dam.svg"; + icon-tint: @color_waterway_dam; + text: eval(locTag("name")); + } + + [waterway=lock_gate],[waterway=sluice_gate] { + icon-image: "poi_dam.svg"; + icon-tint: @color_waterway_dam; + text: eval(locTag("name")); + } + + [waterway=weir] { + icon-image: "poi_weir.svg"; + icon-tint: @color_waterway_dam; + text: eval(locTag("name")); + } + + [waterway=rapids] { + icon-image: "poi_rapids.svg"; + icon-tint: @color_icon_tourism; + text: eval(locTag("name")); + } + } + @endif // Sport @endif |z15-[amenity=shelter] {