start building a new main site based on leaflet!

This commit is contained in:
Laura Klünder 2017-10-10 19:31:51 +02:00
parent 44b2f828ab
commit 2ad82d169d
7 changed files with 682 additions and 641 deletions

View file

@ -18,7 +18,7 @@ def tile(request, level, zoom, x, y, format):
x, y = int(x), int(y)
size = 256/2**zoom
minx = size * x
miny = size * y
miny = size * (-y-1)
maxx = minx + size
maxy = miny + size