API (v2.0.0) - Giro3D
    Preparing search index...

    Interface FileFeatureSourceOptions

    interface FileFeatureSourceOptions {
        format?: FeatureFormat<Feature<Geometry, { [x: string]: any }>>;
        getter?: Getter;
        sourceCoordinateSystem?: CoordinateSystem;
        url: string;
    }
    Index

    Properties

    format?: FeatureFormat<Feature<Geometry, { [x: string]: any }>>

    The format to parse the file.

    GeoJSON

    getter?: Getter

    A function to retrieve the file remotely. If not specified, will use standard fetch functions to download the file. Mostly useful for unit testing.

    sourceCoordinateSystem?: CoordinateSystem

    The coordinate system of the features in this source.

    1. If not provided, will attempt to read it from the file.
    2. If the file does not contain coordinate system information, will assume EPSG:4326.
    url: string

    The URL to the remote file.