Options
All
  • Public
  • Public/Protected
  • All
Menu

Performs an identify operation with respect to a graphics layer.

Hierarchy

Index

Constructors

constructor

Properties

app

isEnabled

isEnabled: boolean

libraryId

libraryId: string

pixelTolerance

pixelTolerance: number

polygonPixelTolerance

polygonPixelTolerance: number

Methods

Protected _clear

  • _clear(): void
  • Returns void

Protected _getDisplayNameForGraphic

  • Parameters

    Returns string

Protected _isMeasurement

  • _isMeasurement(graphic: Graphic): boolean
  • Parameters

    • graphic: Graphic

    Returns boolean

Protected _verifyNotCancelled

  • _verifyNotCancelled(): void
  • Returns void

Protected applyTolerance

  • applyTolerance(geometry: Geometry, pixelTolerance: number): Geometry
  • Creates a tolerance envelope around a point. Only applies to points; other geometries are returned as-is.

    Parameters

    • geometry: Geometry

      The geometry to create an envelope for.

    • pixelTolerance: number

      A positive integer that defines the maximum number of pixels away from the point geometry. Determines the width of the generated envelope.

    Returns Geometry

cancelSearch

  • cancelSearch(): void

getResource

  • getResource(resourceKey: string, locale?: string): string
  • Gets a language resource from the Application's resource dictionary, given a key, and optional locale. Returns null if the resource does not exist.

    Parameters

    • resourceKey: string
    • Optional locale: string

      The locale of the resource to fetch. Defaults to the current application locale.

    Returns string

initialize

  • initialize(config: any): void
  • Initialize the provider.

    Parameters

    • config: any

      The configuration object.

    Returns void

search

  • Performs the search. Returns a promise so that map tips can know when all identify tasks are complete. Do not reject the promise even if the task fails, as this would cause other identify tasks to be cancelled.

    Parameters

    Returns Promise<any>