Module maplibre::render::tile_view_pattern
source · Expand description
Utility for generating a tile pattern which can be used for masking.
Modules§
- pattern 🔒
Structs§
- 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.
- The tile mask pattern assigns each tile a value which can be used for stencil testing.
- Defines the
targettile and itssourcefrom which data tile data comes.
Enums§
- 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§
- 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.