Interface OverpassApiVectorSourceFactory

A factory that creates VectorSource | vector sources for an Overpass API service. The resulting vector sources can be used in an OpenLayers VectorLayer.

Use the interface name "overpass-api.VectorSourceFactory" to obtain an instance of this factory.

interface OverpassApiVectorSourceFactory {
    createVectorSource(
        options: OverpassApiVectorSourceOptions,
    ): VectorSource;
}

Hierarchy

  • DeclaredService<"overpass-api.VectorSourceFactory">
    • OverpassApiVectorSourceFactory

Methods