gis-tools-ts - v0.6.0
    Preparing search index...

    Interface TileStoreOptions

    Options for creating a TileStore

    interface TileStoreOptions {
        buffer?: number;
        buildBBox?: boolean;
        indexMaxzoom?: number;
        maxzoom?: number;
        minzoom?: number;
        projection?: Projection;
        tolerance?: number;
    }
    Index

    Properties

    buffer?: number

    tile buffer on each side so lines and polygons don't get clipped

    buildBBox?: boolean

    whether to build the bounding box for each tile feature

    indexMaxzoom?: number

    max zoom to index data on construction

    maxzoom?: number

    max zoom level to cluster the points on

    minzoom?: number

    min zoom to generate data on

    projection?: Projection

    manually set the projection, otherwise it defaults to whatever the data type is

    tolerance?: number

    simplification tolerance (higher means simpler). 3 is a good default. Since the default extent is 1, the algorithm will build a unit square of 4_096x4_096 for you.