Wrap bounds of changeset request, closes #72
This commit is contained in:
parent
653f7c0d74
commit
8fe5dbb92c
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ OSM.History = function(map) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: window.location.pathname,
|
url: window.location.pathname,
|
||||||
method: "GET",
|
method: "GET",
|
||||||
data: {bbox: map.getBounds().toBBoxString()},
|
data: {bbox: map.getBounds().wrap().toBBoxString()},
|
||||||
success: function(html, status, xhr) {
|
success: function(html, status, xhr) {
|
||||||
$('#sidebar_content .changesets').html(html);
|
$('#sidebar_content .changesets').html(html);
|
||||||
updateMap();
|
updateMap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue