A query provider for route layers.

Hierarchy (view full)

Constructors

Methods

  • Adds a tolerance to input geometries if configured in the options.

    Parameters

    • geometry: GeometryUnion

      The geometry to apply a tolerance to.

    • Optionaloptions: IdentifyOptions

      The identify options object.

    Returns Promise<GeometryUnion>

  • Invoked to perform the actual work for count. Derived classes should override this method rather than count().

    Parameters

    • source: FeatureSource

      The source to identify.

    • geometry: GeometryUnion

      The geometry to match against.

    • options: IdentifyOptions

      Options that affect the identify operation.

    Returns Promise<CountResult>

  • Invoked to perform the actual work for identify on a single source. Derived classes should override this method rather than identify().

    Parameters

    • source: FeatureSource

      The source to identify.

    • geometry: GeometryUnion

      The geometry to match against.

    • options: IdentifyOptions

      Options that affect the identify operation.

    Returns AsyncIterable<Feature, any, any>

  • Invoked to perform the work for identify. Default implementation calls _identify for each source. Derived classes can override this method to implement special handling for multiple sources.

    Parameters

    • sources: FeatureSource[]

      The sources to identify.

    • geometry: GeometryUnion

      The geometry to match against.

    • options: IdentifyOptions

      Options that affect the identify operation.

    • OptionalgeometryType: string

      The geometry type before a tolerance buffer is applied.

    Returns AsyncIterable<Feature, any, any>

  • Determines whether this provider can handle identify operations for the given feature source.

    Parameters

    Returns boolean