mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Add left-hand-driving dataset
(For future use by turn lane editor)
This commit is contained in:
@@ -296,7 +296,8 @@ fs.writeFileSync('data/data.js', 'iD.data = ' + JSON.stringify({
|
||||
en: read('dist/locales/en.json'),
|
||||
suggestions: r('name-suggestions.json'),
|
||||
addressFormats: r('address-formats.json'),
|
||||
phoneFormats: r('phone-formats.json')
|
||||
phoneFormats: r('phone-formats.json'),
|
||||
driveLeft: r('drive-left.json')
|
||||
}) + ';');
|
||||
|
||||
fs.writeFileSync('dist/presets.js', 'iD.data.presets = ' + JSON.stringify({
|
||||
|
||||
+4
-2
@@ -19,7 +19,8 @@ iD.data = {
|
||||
path + 'dist/locales/en.json',
|
||||
path + 'data/name-suggestions.json',
|
||||
path + 'data/address-formats.json',
|
||||
path + 'data/phone-formats.json'
|
||||
path + 'data/phone-formats.json',
|
||||
path + 'data/drive-left.json'
|
||||
], d3.json, function (err, data) {
|
||||
|
||||
iD.data = {
|
||||
@@ -39,7 +40,8 @@ iD.data = {
|
||||
en: data[11],
|
||||
suggestions: data[12],
|
||||
addressFormats: data[13],
|
||||
phoneFormats: data[14]
|
||||
phoneFormats: data[14],
|
||||
driveLeft: data[15]
|
||||
};
|
||||
|
||||
callback();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user