Add passthrough of new locale
, maprules
, and presets
URL hash parameters to iD
This commit is contained in:
parent
1bbc85354e
commit
3f2a42bf77
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ $(document).ready(function () {
|
|||
if (hashParams.disable_features) params.disable_features = hashParams.disable_features;
|
||||
if (hashParams.offset) params.offset = hashParams.offset;
|
||||
if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;
|
||||
if (hashParams.locale) params.locale = hashParams.locale;
|
||||
if (hashParams.maprules) params.maprules = hashParams.maprules;
|
||||
if (hashParams.presets) params.presets = hashParams.presets;
|
||||
|
||||
if (id.data("gpx")) {
|
||||
params.gpx = id.data("gpx");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue