the tile's layers
whether the tile feature geometry has been transformed to tile coordinates
Add features from a reader to the tile, optionally to a specific layer to store it in. Defaults to "default".
the reader containing the input data
Optional
layer: stringlayer to store the feature to
true if the tile is empty of features
Simplify the geometry to have a tolerance which will be relative to the tile's zoom level. NOTE: This should be called after the tile has been split into children if that functionality is needed.
tolerance
Optional
maxzoom: numbermax zoom at which to simplify
Tile Class
Description
Tile Class to contain the tile information for splitting or simplifying
Fields
face
- the tile's facezoom
- the tile's zoomi
- the tile's x positionj
- the tile's y positionlayers
- the tile's layerstransformed
- whether the tile feature geometry has been transformed to tile coordinatesUsage
If you have some kind reader you can use the
addReader
method to build the tiile