Skip to content

Commit

Permalink
Add a window icon, use it for Glaziery and a few other presets
Browse files Browse the repository at this point in the history
(closes #5018)
  • Loading branch information
bhousel committed Jun 1, 2018
1 parent b96a749 commit fe7ca21
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 10 deletions.
6 changes: 3 additions & 3 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -5880,7 +5880,7 @@
"name": "Gardener"
},
"craft/glaziery": {
"icon": "fire-station",
"icon": "poi-window",
"fields": [
"name",
"operator",
Expand Down Expand Up @@ -6358,7 +6358,7 @@
"name": "Watchmaker"
},
"craft/window_construction": {
"icon": "poi-tool",
"icon": "poi-window",
"fields": [
"name",
"operator",
Expand Down Expand Up @@ -19002,7 +19002,7 @@
"name": "Wholesale Store"
},
"shop/window_blind": {
"icon": "shop",
"icon": "poi-window",
"fields": [
"name",
"operator",
Expand Down
2 changes: 1 addition & 1 deletion data/presets/presets/craft/glaziery.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"icon": "fire-station",
"icon": "poi-window",
"fields": [
"name",
"operator",
Expand Down
2 changes: 1 addition & 1 deletion data/presets/presets/craft/window_construction.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"icon": "poi-tool",
"icon": "poi-window",
"fields": [
"name",
"operator",
Expand Down
2 changes: 1 addition & 1 deletion data/presets/presets/shop/window_blind.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"icon": "shop",
"icon": "poi-window",
"fields": [
"name",
"operator",
Expand Down
6 changes: 2 additions & 4 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2572,8 +2572,7 @@
"object_types": [
"node",
"area"
],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/fire-station-15.svg?sanitize=true"
]
},
{
"key": "craft",
Expand Down Expand Up @@ -7645,8 +7644,7 @@
"object_types": [
"node",
"area"
],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shop-15.svg?sanitize=true"
]
},
{
"key": "shop",
Expand Down
2 changes: 2 additions & 0 deletions svg/iD-sprite.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@
"poi-milestone": { "viewBox": "655 335 15 15" },
"poi-crane": { "viewBox": "670 335 15 15" },
"poi-bulb": { "viewBox": "685 335 15 15" },
"poi-window": { "viewBox": "700 335 15 15" },

"poi-vending-machine-shape": { "fill": "currentColor" },
"poi-dice-shape": { "fill": "currentColor" },
Expand All @@ -367,6 +368,7 @@
"poi-milestone-shape": { "fill": "currentColor" },
"poi-crane-shape": { "fill": "currentColor" },
"poi-bulb-shape": { "fill": "currentColor" },
"poi-window-shape": { "fill": "currentColor" },

"poi-vertex": { "viewBox": "400 350 15 15" },

Expand Down
Binary file modified svg/iD-sprite.src.idraw
Binary file not shown.
3 changes: 3 additions & 0 deletions svg/iD-sprite.src.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fe7ca21

Please sign in to comment.