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

    Type Alias DataSource

    DataSource:
        | { format: FeatureFormat; url: string }
        | { content: unknown; format: FeatureFormat }
        | Feature[]

    The data content. Can be:

    • The URL to a remote file and a FeatureFormat to parse the data,
    • The content of the source file (such as GeoJSON) and a FeatureFormat to parse the data,
    • A list of OpenLayers Feature (no format decoder required)