@versatiles/map-state
    Preparing search index...

    Function stateFromGeoJSON

    • Convert GeoJSON into a map state document. Accepts a FeatureCollection (optionally with the frame and the meta of a map), a single Feature or a bare Geometry. Features with missing or invalid geometry are skipped.

      Parameters

      Returns MapState