tile()
Computes the set of 256x256 quadtree tiles to display given the current layout extent, scale and translate. Returns an array of objects with the following properties:
-
xThe integer X coordinate of the tile address. Periodic if wrap is set to true. -
yThe integer Y coordinate of the tile address. -
zThe integer Z coordinate of the tile address (zoom level). -
txThe X translate to be applied to the tile. This is thexvalue multiplied by 256, but without wrapping logic applied. -
tyThe Y translate to be applied to the tile. This is theyvalue multiplied by 256.
The returned array also has properties scale and translate that can be used to apply the correct transformation to the group of tile images. For example usage, see Raster & Vector III.
Please login to continue.