Abstract base class representing a search provider. It builds upon the BaseGeocoder functionalities with provider-specific properties.

Hierarchy

Constructors

Properties

label?: string

Label to represent the provider. Useful for user interfaces to display the source of search results.

searchResources: SearchResource[] = []
searchUrl?: string

URL endpoint for the search service. This is where queries will be sent to obtain search results.

limit: number = 300

Methods

  • Search method to retrieve geocoding results.

    Parameters

    • query: string

      The search string to geocode.

    Returns AsyncGenerator<NgwSearchItem, void, unknown>

    Abstract

    Yields

    An async generator that yields search results.

Generated using TypeDoc