start building a new main site based on leaflet!
This commit is contained in:
parent
44b2f828ab
commit
2ad82d169d
7 changed files with 682 additions and 641 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue