On this page

Type Alias GeoJSONVTOptions

type GeoJSONVTOptions = {
    buffer?: number;
    cluster?: boolean;
    clusterOptions?: SuperclusterOptions;
    debug?: number;
    extent?: number;
    generateId?: boolean;
    indexMaxPoints?: number;
    indexMaxZoom?: number;
    lineMetrics?: boolean;
    maxZoom?: number;
    promoteId?: string | null;
    tolerance?: number;
    updateable?: boolean;
}
Index

Properties

buffer?: number

Tile buffer on each side

64
cluster?: boolean

Enable Supercluster for point features.

false
clusterOptions?: SuperclusterOptions

Options for the Supercluster point clustering algorithm.

debug?: number

Logging level (0, 1 or 2)

0
extent?: number

Tile extent

4096
generateId?: boolean

Whether to generate feature ids. Cannot be used with promoteId

false
indexMaxPoints?: number

Max number of points per tile in the tile index

100000
indexMaxZoom?: number

Max zoom in the tile index

5
lineMetrics?: boolean

Whether to calculate line metrics

false
maxZoom?: number

Max zoom to preserve detail on

14
promoteId?: string | null

Name of a feature property to be promoted to feature.id

tolerance?: number

Simplification tolerance (higher means simpler)

3
updateable?: boolean

Whether geojson can be updated (with caveat of a stored simplified copy)

false
Was this helpful?
SDK JS
Reference
GeoJSONVTOptions