Function createLoader

  • Intended to be used with VectorSource and setLoader to setup a single file FlatGeobuf as source.

    Parameters

    • source: VectorSource<Feature<Geometry>>
    • url: string
    • srs: string = 'EPSG:4326'
    • strategy: LoadingStrategy = all
    • clear: boolean = false

    Returns FeatureLoader<Feature<Geometry>>