s2js
    Preparing search index...

    Class RegionCovererBeta

    RegionCoverer allows arbitrary GeoJSON geometries to be approximated as unions of cells (CellUnion).

    Typical usage:

    feature = loadGeoJSON()
    rc = new RegionCoverer({ maxCells: 256, memberMaxCells: 64 })
    covering = rc.covering(feature.geometry)
    

    unstable API

    Index

    Constructors

    Other

    Constructors

    Other