Commit 4198bf7e authored by Martin Schorb's avatar Martin Schorb
Browse files

fix missing url

parent 25cf4726
......@@ -417,6 +417,9 @@ for idx in range(params.max_tileviews):
url += '/z/' + str(section)
if 'imurl' not in imparams.keys():
imurl = url + '/jpeg-image?scale=' + scale
if 'zoom' in trigger:
if rectsel == {}:
raise PreventUpdate
......@@ -444,7 +447,7 @@ for idx in range(params.max_tileviews):
imurl = imparams['imurl']
elif 'section' in trigger:
imurl = re.sub('/z/[0-9]*', '/z/' + str(section), imparams['imurl'])
imurl = re.sub('/z/[0-9]*', '/z/' + str(section), imurl)
else:
fullbounds = thisstore['stackparams']['stats']['stackBounds']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment