FIMViz.jsAPI
    Preparing search index...

    Class VectorFeatures

    A decoded vector: a GeoJSON FeatureCollection plus its frame. What a VectorLayer draws.

    Index
    • Parameters

      • init: {
            bounds?: { east: number; north: number; south: number; west: number };
            crs?: string;
            features: any;
            meta?: any;
        } = {}
        • Optionalbounds?: { east: number; north: number; south: number; west: number }
        • Optionalcrs?: string
        • features: any

          a GeoJSON FeatureCollection (or Feature)

        • Optionalmeta?: any

      Returns VectorFeatures

    bounds: { east: number; north: number; south: number; west: number }
    crs: string
    features: any
    kind: string
    meta: any
    • for (const feature of await ds.features()).

      Returns Iterator<any, any, any>

    • The features as a plain array, whatever shape the payload arrived in — a FeatureCollection, a lone Feature, or an array. Without this, reading them means knowing which of those you got and writing (await ds.features()).features.features for the common case.

      Returns any[]

      GeoJSON Features, in document order