Home > @jsplumbtoolkit/browser-ui > TilingStrategies
TilingStrategies enum
Defines how the tiles are arranged.
With logarithmic
each layer is assumed to have a maximum of (2^level+1) tiles in each axis (for instance at level 0, 2 tiles). This setup is how apps like Google maps arrange their tiles.
With absolute
tiling, the number of tiles in each axis is computed as the size of the image in that axis divided by the tile size in that axis. Thus, for each zoom level, there are the same number of tiles.
Signature:
export declare enum TilingStrategies
Enumeration Members
Member | Value | Description |
---|---|---|
absolute | "absolute" | |
logarithmic | "logarithmic" |