X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d3c60874092c63b493818f227f31027327b595e3..2c52b067168084265ed577104fe1fa2677c6e620:/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;