X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6167bb650286e30cf9e1beed107b794c03bb3909..0f3e5a28c04a1a7899a39d594eb05a2f48d5db6d:/public/javascripts/site.js diff --git a/public/javascripts/site.js b/public/javascripts/site.js index d381c0231..06b4152df 100644 --- a/public/javascripts/site.js +++ b/public/javascripts/site.js @@ -62,8 +62,7 @@ function updatelinks(lon,lat,zoom,layers,extents) { if (node) { if (zoom >= 11) { var args = new Object(); - //conjure a bounding box centred at the lat/lon. - //TODO: feed actual bounds of the window through to here somehow. + //set bbox param from 'extents' object minlon = extents.left; minlat = extents.bottom; maxlon = extents.right;