Add directional arrows to waterway=weir rendered as lines (close #6615)

This commit is contained in:
Quincy Morgan
2019-07-03 15:45:59 -04:00
parent 14c05a1e95
commit 3d9bcc8234
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -104,6 +104,9 @@ export var osmRightSideIsInsideTags = {
},
'man_made': {
'embankment': true
},
'waterway': {
'weir': true
}
};
+1
View File
@@ -58,6 +58,7 @@ export function svgDefs(context) {
// the water side, so let's color them blue (with a gap) to
// give a stronger indication
addSidedMarker('coastline', '#77dede', 1);
addSidedMarker('waterway', '#77dede', 1);
// barriers have a dashed line, and separating the triangle
// from the line visually suits that
addSidedMarker('barrier', '#ddd', 1);