Fix "Edit area" links
This commit is contained in:
parent
e6ef6defb2
commit
f18740a7af
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ OSM = {
|
|||
mapParams.zoom = hash.zoom;
|
||||
mapParams.object_zoom = false;
|
||||
} else if (bounds) {
|
||||
mapParams.lon = bounds.getCenter().lng; // Not used by main map, but
|
||||
mapParams.lat = bounds.getCenter().lat; // are used by iD/Potlatch.
|
||||
mapParams.bounds = bounds;
|
||||
mapParams.object_zoom = false;
|
||||
} else if (params.lon && params.lat) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue