var | definition | default | example |
---|---|---|---|
URL | URL with variables | http://nla.gov.au/nla.obj-152644715/dzi?tile={{zoomlevel}}/{{x}}_{{y}}.jpg |
|
x0 | First value of X | 0 | |
xstep | increment of X between consecutive tiles | 1 | |
xend | last value of X | {{ceil(width/tilesize)+x0}} |
|
y0 | First value of Y | 0 | |
ystep | increment of Y between consecutive tiles | 1 | |
yend | last value of Y | {{ceil(height/tilesize)+y0}} |
|
tilesize | width of a tile | 256 | |
width | total width of the final image | ||
height | total height of the final image | ||
zoomlevel | level of zoom inside the image | {{ceil(log2(max(width,height)/tilesize))}} |
Last active
September 24, 2016 15:22
-
-
Save lovasoa/51924c5b2f920cd38c5545983ad929bf to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment