Expand description
Utility for generating a tile pattern which can be used for masking.
Modules§
- pattern 🔒
Structs§
- Query
HasTile - Tile
Shape - Defines the exact location where a specific tile on the map is rendered. It defines the shape of the tile with its location for the current zoom factor.
- Tile
View Pattern - The tile mask pattern assigns each tile a value which can be used for stencil testing.
- View
Tile - Defines the
targettile and itssourcefrom which data tile data comes. - View
Tile Sources
Enums§
- Source
Shapes - This defines the source tile shaped from which the content for the
targetis taken. For example if the target is(0, 0, 1)(ofViewTile) , we might useSourceShapes::Parent((0, 0, 0))as source. Similarly if we have the target(0, 0, 0)we might useSourceShapes::Children((0, 0, 1), (0, 1, 1), (1, 0, 1), (1, 1, 1))as sources.
Constants§
- DEFAULT_
TILE_ SIZE - If not otherwise specified, raster tiles usually are 512.0 by 512.0 pixel. In order to support 256.0 x 256.0 raster tiles 256.0 must be used.
- DEFAULT_
TILE_ VIEW_ PATTERN_ SIZE