diff --git a/CHANGELOG.md b/CHANGELOG.md index d839c6f..a74119e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Fix names not rendered in some alphabts. Fix #489. * Render train stations when tagged on buildings (polygons). Fix #527. +* Use sharrows for `bicycle=designated` streets instead of regular arrow. + Fix #389. diff --git a/LICENSE.md b/LICENSE.md index f984ee2..76b791b 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -22,5 +22,9 @@ style and are licensed under CC0 public domain. The icons in `symbols/osmandapp` are taken from the [OsmAnd app resources](https://github.com/osmandapp/OsmAnd-resources). +The icons in `symbols/nounproject` are taken from [The Noun +Project](https://thenounproject.com/) and are licensed under a CC BY-NC-ND 2.0 +license. + The inner tube bicycle icon is based on https://www.flaticon.com/free-icon/inner-tube_1575936. diff --git a/labels.mss b/labels.mss index 0e02bb7..155aaa2 100644 --- a/labels.mss +++ b/labels.mss @@ -491,26 +491,13 @@ designated/marker-max-error: 0.5; designated/marker-spacing: 50; designated/marker-fill: @cycle-fill; - designated/marker-file: url(symbols/oneway.svg); + designated/marker-file: url(symbols/nounproject/sharrows.svg); [oneway='-1'] { designated/marker-file: url(symbols/oneway-reverse.svg); } [zoom=15] { designated/marker-transform: "scale(0.75)"; designated/marker-spacing: 40; } } - [bicycle='designated'][oneway = 'yes'][oneway_bicycle = 'no'], - [bicycle='designated'][oneway = '-1'][oneway_bicycle = 'no'], - [bicycle='designated'][oneway != 'yes'][oneway != '-1'][oneway_bicycle != 'yes'][oneway_bicycle != '-1'] { - designated/marker-placement: line; - designated/marker-max-error: 0.5; - designated/marker-spacing: 50; - designated/marker-fill: @cycle-fill; - designated/marker-file: url(symbols/oneway-cycle.svg); - [zoom=15] { - designated/marker-transform: "scale(0.75)"; - designated/marker-spacing: 40; - } - } } diff --git a/symbols/nounproject/sharrows.svg b/symbols/nounproject/sharrows.svg new file mode 100644 index 0000000..6995cda --- /dev/null +++ b/symbols/nounproject/sharrows.svg @@ -0,0 +1,55 @@ + +image/svg+xml