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
target tile and its source from which data tile data comes.Enums
This defines the source tile shaped from which the content for the
target is taken.
For example if the target is (0, 0, 1) (of ViewTile) , we might use
SourceShapes::Parent((0, 0, 0)) as source.
Similarly if we have the target (0, 0, 0) we might use
SourceShapes::Children((0, 0, 1), (0, 1, 1), (1, 0, 1), (1, 1, 1)) as sources.