Fix icons for lines that use maki (fixes #1371)

Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
This commit is contained in:
John Firebaugh
2013-04-24 12:26:06 -07:00
parent 965cfc65e8
commit 275696caaa
13 changed files with 219 additions and 174 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ iD.data = {
path + 'data/presets/categories.json',
path + 'data/presets/fields.json',
path + 'data/imperial.json',
path + 'data/maki-sprite.json',
path + 'data/feature-icons.json',
path + 'data/operations-sprite.json',
path + 'data/locales.json',
path + 'dist/locales/en.json'
@@ -32,7 +32,7 @@ iD.data = {
fields: data[7]
},
imperial: data[8],
maki: data[9],
featureIcons: data[9],
operations: data[10],
locales: data[11],
en: data[12]