diff --git a/API.md b/API.md index 344410e39..19ae98d85 100644 --- a/API.md +++ b/API.md @@ -6,7 +6,7 @@ This file documents efforts toward establishing a public API for iD. iD supports several URL parameters. When constructing a URL to a standalone instance of iD (e.g. `http://preview.ideditor.com/release/`), the following parameters are available -in the hash portion of the URL: +**in the hash portion of the URL**: * __`map`__ - A slash separated `zoom/latitude/longitude`.
_Example:_ `map=20.00/38.90085/-77.02271` @@ -43,7 +43,7 @@ in the hash portion of the URL: automatically detected in the `comment`).
_Example:_ `hashtags=%23hotosm-task-592,%23MissingMaps` * __`locale`__ - A code specifying the localization to use, affecting the language, layout, and keyboard shortcuts. Must be one of the [supported locales](https://github.com/openstreetmap/iD/tree/master/dist/locales). The default locale is set by the browser.
- _Example:_ `locale=de` + _Example:_ `locale=en-US`, `locale=de` * __`rtl=true`__ - Force iD into right-to-left mode (useful for testing). * __`walkthrough=true`__ - Start the walkthrough automatically @@ -51,7 +51,7 @@ in the hash portion of the URL: When constructing a URL to an instance of iD embedded in the OpenStreetMap Rails Port (e.g. `http://www.openstreetmap.org/edit?editor=id`), the following parameters -are available as regular URL query parameters: +are available as **regular URL query parameters**: * __`map`__ - same as standalone * __`lat`__, __`lon`__, __`zoom`__ - Self-explanatory. @@ -65,6 +65,7 @@ are available as regular URL query parameters: * __`comment`__ - same as standalone * __`source`__ - same as standalone * __`hashtags`__ - same as standalone +* __`locale`__ - same as standalone, but the default locale is set by the language settings in your OSM user account. * __`walkthrough`__ - same as standalone diff --git a/package.json b/package.json index 5702ab97e..25a6787eb 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "d3": "4.13.0", "ecstatic": "^3.0.0", "editor-layer-index": "osmlab/editor-layer-index.git#gh-pages", - "eslint": "^5.0.0", - "esm": "~3.2.1", + "eslint": "^5.15.0", + "esm": "~3.2.9", "gaze": "^1.1.1", "glob": "^7.1.0", "happen": "^0.3.1", @@ -78,7 +78,7 @@ "osm-community-index": "0.6.0", "phantomjs-prebuilt": "~2.1.11", "request": "^2.88.0", - "rollup": "~1.2.2", + "rollup": "~1.4.0", "rollup-plugin-commonjs": "^9.0.0", "rollup-plugin-includepaths": "~0.2.3", "rollup-plugin-json": "^3.0.0", diff --git a/svg/fontawesome/fas-ambulance.svg b/svg/fontawesome/fas-ambulance.svg index 1fa5eb96b..9f1713708 100644 --- a/svg/fontawesome/fas-ambulance.svg +++ b/svg/fontawesome/fas-ambulance.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-archway.svg b/svg/fontawesome/fas-archway.svg index 167181b7c..663af67e8 100644 --- a/svg/fontawesome/fas-archway.svg +++ b/svg/fontawesome/fas-archway.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-bacon.svg b/svg/fontawesome/fas-bacon.svg index ad6f37ff3..cd37eabfe 100644 --- a/svg/fontawesome/fas-bacon.svg +++ b/svg/fontawesome/fas-bacon.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-balance-scale.svg b/svg/fontawesome/fas-balance-scale.svg index 70e5cd4e2..6ac8e064c 100644 --- a/svg/fontawesome/fas-balance-scale.svg +++ b/svg/fontawesome/fas-balance-scale.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-bell.svg b/svg/fontawesome/fas-bell.svg index 8b6ff39d6..7599563d9 100644 --- a/svg/fontawesome/fas-bell.svg +++ b/svg/fontawesome/fas-bell.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-blender.svg b/svg/fontawesome/fas-blender.svg index 0e15eb5c4..34a4dd211 100644 --- a/svg/fontawesome/fas-blender.svg +++ b/svg/fontawesome/fas-blender.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-box.svg b/svg/fontawesome/fas-box.svg index 97d769e60..da849c57c 100644 --- a/svg/fontawesome/fas-box.svg +++ b/svg/fontawesome/fas-box.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-charging-station.svg b/svg/fontawesome/fas-charging-station.svg index 10aae5d96..cf9a7226a 100644 --- a/svg/fontawesome/fas-charging-station.svg +++ b/svg/fontawesome/fas-charging-station.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-cheese.svg b/svg/fontawesome/fas-cheese.svg index 06154c543..e786e3851 100644 --- a/svg/fontawesome/fas-cheese.svg +++ b/svg/fontawesome/fas-cheese.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-chess-knight.svg b/svg/fontawesome/fas-chess-knight.svg index a31c71b04..12d41b828 100644 --- a/svg/fontawesome/fas-chess-knight.svg +++ b/svg/fontawesome/fas-chess-knight.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-couch.svg b/svg/fontawesome/fas-couch.svg index 2f2f86549..39b272e87 100644 --- a/svg/fontawesome/fas-couch.svg +++ b/svg/fontawesome/fas-couch.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-drumstick-bite.svg b/svg/fontawesome/fas-drumstick-bite.svg index 9c0cfe829..b7ca271ce 100644 --- a/svg/fontawesome/fas-drumstick-bite.svg +++ b/svg/fontawesome/fas-drumstick-bite.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-dumbbell.svg b/svg/fontawesome/fas-dumbbell.svg index e7bacfd38..1d2030226 100644 --- a/svg/fontawesome/fas-dumbbell.svg +++ b/svg/fontawesome/fas-dumbbell.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-fire-extinguisher.svg b/svg/fontawesome/fas-fire-extinguisher.svg index 29f1d9615..054e9c503 100644 --- a/svg/fontawesome/fas-fire-extinguisher.svg +++ b/svg/fontawesome/fas-fire-extinguisher.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-fish.svg b/svg/fontawesome/fas-fish.svg index 80d5bf6e9..64d25a077 100644 --- a/svg/fontawesome/fas-fish.svg +++ b/svg/fontawesome/fas-fish.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-handshake.svg b/svg/fontawesome/fas-handshake.svg index 26442580c..faa861b3f 100644 --- a/svg/fontawesome/fas-handshake.svg +++ b/svg/fontawesome/fas-handshake.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-key.svg b/svg/fontawesome/fas-key.svg index 6307a19a6..5139e044f 100644 --- a/svg/fontawesome/fas-key.svg +++ b/svg/fontawesome/fas-key.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-life-ring.svg b/svg/fontawesome/fas-life-ring.svg index ccd0d0041..64a5d9923 100644 --- a/svg/fontawesome/fas-life-ring.svg +++ b/svg/fontawesome/fas-life-ring.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-long-arrow-alt-right.svg b/svg/fontawesome/fas-long-arrow-alt-right.svg index a2b44d34b..70c4b98ff 100644 --- a/svg/fontawesome/fas-long-arrow-alt-right.svg +++ b/svg/fontawesome/fas-long-arrow-alt-right.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-medkit.svg b/svg/fontawesome/fas-medkit.svg index 8405214e5..5fd252bd8 100644 --- a/svg/fontawesome/fas-medkit.svg +++ b/svg/fontawesome/fas-medkit.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-motorcycle.svg b/svg/fontawesome/fas-motorcycle.svg index 94811e288..6e41f7d6e 100644 --- a/svg/fontawesome/fas-motorcycle.svg +++ b/svg/fontawesome/fas-motorcycle.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-paint-roller.svg b/svg/fontawesome/fas-paint-roller.svg index 0696b018b..c34c1ce5b 100644 --- a/svg/fontawesome/fas-paint-roller.svg +++ b/svg/fontawesome/fas-paint-roller.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-people-carry.svg b/svg/fontawesome/fas-people-carry.svg index 935d1fb50..79676991d 100644 --- a/svg/fontawesome/fas-people-carry.svg +++ b/svg/fontawesome/fas-people-carry.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-pepper-hot.svg b/svg/fontawesome/fas-pepper-hot.svg index c796ae6d3..d6ec786e5 100644 --- a/svg/fontawesome/fas-pepper-hot.svg +++ b/svg/fontawesome/fas-pepper-hot.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-plane-departure.svg b/svg/fontawesome/fas-plane-departure.svg index 5fed596d4..ec485b6c0 100644 --- a/svg/fontawesome/fas-plane-departure.svg +++ b/svg/fontawesome/fas-plane-departure.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-print.svg b/svg/fontawesome/fas-print.svg index 38e4ca91e..df07bf98d 100644 --- a/svg/fontawesome/fas-print.svg +++ b/svg/fontawesome/fas-print.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-skating.svg b/svg/fontawesome/fas-skating.svg index aa80f7c2f..07f9d1e86 100644 --- a/svg/fontawesome/fas-skating.svg +++ b/svg/fontawesome/fas-skating.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-skiing-nordic.svg b/svg/fontawesome/fas-skiing-nordic.svg index efe3a9d59..dda08e203 100644 --- a/svg/fontawesome/fas-skiing-nordic.svg +++ b/svg/fontawesome/fas-skiing-nordic.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-skiing.svg b/svg/fontawesome/fas-skiing.svg index 75422fa8f..3079893dc 100644 --- a/svg/fontawesome/fas-skiing.svg +++ b/svg/fontawesome/fas-skiing.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-sleigh.svg b/svg/fontawesome/fas-sleigh.svg index 91ffea4e7..58d50b089 100644 --- a/svg/fontawesome/fas-sleigh.svg +++ b/svg/fontawesome/fas-sleigh.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-smoking.svg b/svg/fontawesome/fas-smoking.svg index b044e1e39..1926d276c 100644 --- a/svg/fontawesome/fas-smoking.svg +++ b/svg/fontawesome/fas-smoking.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-snowboarding.svg b/svg/fontawesome/fas-snowboarding.svg index 721620e03..7745aca63 100644 --- a/svg/fontawesome/fas-snowboarding.svg +++ b/svg/fontawesome/fas-snowboarding.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-solar-panel.svg b/svg/fontawesome/fas-solar-panel.svg index 6c637615d..2ccab4f01 100644 --- a/svg/fontawesome/fas-solar-panel.svg +++ b/svg/fontawesome/fas-solar-panel.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-taxi.svg b/svg/fontawesome/fas-taxi.svg index d81bc1f28..c12e6b98e 100644 --- a/svg/fontawesome/fas-taxi.svg +++ b/svg/fontawesome/fas-taxi.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-thermometer-three-quarters.svg b/svg/fontawesome/fas-thermometer-three-quarters.svg index 9734bbc88..77d35fda4 100644 --- a/svg/fontawesome/fas-thermometer-three-quarters.svg +++ b/svg/fontawesome/fas-thermometer-three-quarters.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-volume-up.svg b/svg/fontawesome/fas-volume-up.svg index 7588f42d3..b7ec8e185 100644 --- a/svg/fontawesome/fas-volume-up.svg +++ b/svg/fontawesome/fas-volume-up.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-warehouse.svg b/svg/fontawesome/fas-warehouse.svg index c246f37ee..e94543bab 100644 --- a/svg/fontawesome/fas-warehouse.svg +++ b/svg/fontawesome/fas-warehouse.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/fontawesome/fas-wifi.svg b/svg/fontawesome/fas-wifi.svg index bbe6efbbb..eb36744d6 100644 --- a/svg/fontawesome/fas-wifi.svg +++ b/svg/fontawesome/fas-wifi.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file