show a 'no bbox specified' message for the moment at least. Due to inconsistent location detecting across tabs, the history tab often gets nil bbox (Need to fix for all tabs) + other history tab tweaks

This commit is contained in:
Harry Wood 2009-03-24 11:23:56 +00:00
parent 6167bb6502
commit 0f3e5a28c0
3 changed files with 18 additions and 6 deletions

View file

@ -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;