allow -2 and -1 zoom
This commit is contained in:
parent
78d09a0c0c
commit
5184206b49
4 changed files with 6 additions and 4 deletions
|
@ -55,7 +55,7 @@ def tile(request, level, zoom, x, y, access_permissions=None):
|
|||
enforce_tile_secret_auth(request)
|
||||
|
||||
zoom = int(zoom)
|
||||
if not (0 <= zoom <= 5):
|
||||
if not (-2 <= zoom <= 5):
|
||||
raise Http404
|
||||
|
||||
cache_package = CachePackage.open_cached()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue