Skip to content

Commit

Permalink
Add a few icons, including route=piste, route=subway
Browse files Browse the repository at this point in the history
(closes #4355)
  • Loading branch information
bhousel committed Nov 20, 2017
1 parent 73c231a commit 719638f
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 35 deletions.
2 changes: 1 addition & 1 deletion data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -17095,7 +17095,7 @@
"name": "Pipeline Route"
},
"type/route/piste": {
"icon": "route-foot",
"icon": "route-piste",
"fields": [
"name",
"ref_route",
Expand Down
2 changes: 1 addition & 1 deletion data/presets/presets/type/route/piste.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"icon": "route-foot",
"icon": "route-piste",
"fields": [
"name",
"ref_route",
Expand Down
8 changes: 8 additions & 0 deletions svg/iD-sprite.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,15 @@

"ferry-line": { "viewBox": "660 140 60 60" },
"pipeline-line": { "viewBox": "720 140 60 60" },
"piste-line": { "viewBox": "780 140 60 60" },

"ferry-line-dashes": { "fill": "inherit" },
"ferry-line-stroke1": { "fill": "currentColor" },
"ferry-line-stroke2": { "fill": "currentColor" },
"pipeline-line-stroke": { "fill": "currentColor" },
"piste-line-dashes": { "fill": "inherit" },
"piste-line-stroke1": { "fill": "currentColor" },
"piste-line-stroke2": { "fill": "currentColor" },

"relation": { "viewBox": "0 200 60 60" },
"boundary": { "viewBox": "60 200 60 60" },
Expand All @@ -240,13 +244,17 @@
"route-power": { "viewBox": "780 200 60 60" },
"route-water": { "viewBox": "840 200 60 60" },
"route-master": { "viewBox": "0 260 60 60" },
"route-piste": { "viewBox": "660 260 60 60" },
"route-line": { "viewBox": "720 260 60 60" },
"route-subway": { "viewBox": "780 260 60 60" },

"route-bicycle-stroke": { "fill": "currentColor" },
"route-foot-stroke": { "fill": "currentColor" },
"route-horse-stroke": { "fill": "currentColor" },
"route-ferry-stroke": { "fill": "currentColor" },
"route-water-stroke1": { "fill": "currentColor" },
"route-water-stroke2": { "fill": "currentColor" },
"route-piste-stroke": { "fill": "currentColor" },

"restriction-no-straight-on": { "viewBox": "60 260 60 60" },
"restriction-no-u-turn": { "viewBox": "120 260 60 60" },
Expand Down
Binary file modified svg/iD-sprite.src.idraw
Binary file not shown.
Loading

0 comments on commit 719638f

Please sign in to comment.