Options
All
  • Public
  • Public/Protected
  • All
Menu

An implementation of the IdentifyProvider using the MapIdentifyTask.

Hierarchy

Index

Constructors

constructor

Properties

app

Protected defaultPixelTolerance

defaultPixelTolerance: number

Protected defaultPolygonPixelTolerance

defaultPolygonPixelTolerance: number

isEnabled

isEnabled: boolean

libraryId

libraryId: string

pixelTolerance

pixelTolerance: number

polygonPixelTolerance

polygonPixelTolerance: number

Methods

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

identifyTaskComplete

  • identifyTaskComplete(sender: object): void
  • Parameters

    Returns void

identifyTaskError

  • identifyTaskError(sender: object, error: Error, mapService: MapService): void

identifyTaskProgress

  • identifyTaskProgress(sender: object, results: IdentifyResult[], mapService: MapService): void
  • Parameters

    Returns void

initialize

  • initialize(config: any): void

search

  • Execute 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>