OptionalbufferOptionalclusterEnable Supercluster for point features. Each position of a MultiPoint feature is clustered as a point of its own. Other geometry types are left out.
OptionalclusterOptions for the Supercluster point clustering algorithm. coordinates and wrap come from the options above.
Optional ExperimentalcoordinatesThe space the positions are in. 'lngLat' is longitude and latitude, which web mercator puts in the square from 0
to 1 that tile 0/0/0 covers, with latitudes beyond ~85.05 degrees clamped onto its top and bottom. 'unitSquare'
is x and y in that square already, y growing downward, taken as they are, for data in another projection.
getData and the cluster methods return positions in the same space.
OptionaldebugLogging level (0, 1 or 2)
OptionalextentTile extent
OptionalgenerateWhether to generate feature ids. Cannot be used with promoteId
OptionalindexMax number of points per tile in the tile index
OptionalindexMax zoom in the tile index
OptionallineWhether to calculate line metrics
OptionalmaxMax zoom to preserve detail on
OptionalpromoteName of a feature property to be promoted to feature.id
OptionaltoleranceSimplification tolerance (higher means simpler)
OptionalupdateableWhether geojson can be updated (with caveat of a stored simplified copy)
Optional ExperimentalwrapWhether the world wraps around the antimeridian. With true, features near the left or right edge are copied
across it, and the tiles at either edge include what lies past it. With false, the world is the square and ends
at its edges. Features are cut at the tile buffer around it, points outside it are left out of the clusters, and
getTile returns null outside it. geoJSONToTile doesn't wrap unless this is true.
Tile buffer on each side