A base class for anything requiring access to the InstanceApi and instance of Vue app controlled by it.

APIScope

Hierarchy (view full)

Constructors

Properties

The instance of RampMap API scoped to a single Vue R4MP application.

APIScope

Accessors

  • get $element(): App<Element>
  • Returns App<Element>

  • get $vApp(): ComponentPublicInstance
  • The instance of Vue R4MP application controlled by this InstanceAPI. This is just a shorthand for this.$iApi.$vApp.

    Returns ComponentPublicInstance

    APIScope

Methods

  • Gets an array of OIDs from an arcgis server feature source that satisfy a query

    Parameters

    Returns Promise<number[]>

    resolves with array of object ids.

  • Gets an array of graphics from a locally stored feature layer (file, geojson) that satisfy a query

    Parameters

    Returns Promise<Graphic[]>

    resolves with array of graphic result objects.

  • Create an extent centered around a point, that is appropriate for the current map scale.

    Parameters

    • point: Point

      point on the map for extent center

    • tolerance: number = 5

      optional. distance in pixels from mouse point that qualifies as a hit. default is 5

    Returns Extent

    an extent of desired size and location

    makeClickBuffer