Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FeatureSource

The FeatureSource interface is used to represent a feature repository.

Hierarchy

  • FeatureSource

Implemented by

Index

Properties

description

description: string

The description property of a feature source.

id

id: string

The identifying property of a feature source.

name

name: string

The name property of a feature source.

sources

sources: Array<FeatureType>

The sources property is an array of FeatureType.

supportsFind

supportsFind: boolean

The supportsFind property indicates whether this "find" function will work with this source.

supportsIdentify

supportsIdentify: boolean

The supportsIdentify property indicates whether this "identify" function will work with this source.

Methods

Optional find

  • Parameters

    Returns Promise<FindResult>

  • Find based on options and return FindResult

    Parameters

    Returns Promise<FindResult>

    a Q.Promise of FindResult.

  • Parameters

    • options: FindOptions

    Returns Promise<FindResult>

Optional identify

  • Parameters

    Returns Promise<IdentifyResult>

  • Identify specified geometry based on options and return IdentifyResult

    Parameters

    Returns Promise<IdentifyResult>

    a Q.Promise of IdentifyResult.

  • Parameters

    • options: IdentifyOptions

    Returns Promise<IdentifyResult>