InternalstatsInternaltilesInternaltotalGiven z, x, and y tile coordinates, returns the corresponding tile with geometries in tile coordinates, much like MVT data is stored.
tile zoom level
tile x coordinate
tile y coordinate
the transformed tile or null if not found
InternalInvalidates (removes) tiles affected by the provided features
Internalsplits features from a parent tile to sub-tiles. z, x, and y are the coordinates of the parent tile cz, cx, and cy are the coordinates of the target tile
If no target tile is specified, splitting stops when we reach the maximum zoom or the number of points is low as specified in the options.
features to split
tile zoom level
tile x coordinate
tile y coordinate
Optionalcz: numbertarget tile zoom level
Optionalcx: numbertarget tile x coordinate
Optionalcy: numbertarget tile y coordinate
Updates the tile index by adding and/or removing geojson features invalidates tiles that are affected by the update for regeneration on next getTile call.
the source diff object
Main class for creating and managing a vector tile index from GeoJSON data.