RAMP4 - v4.21.0
    Preparing search index...

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

    APIScope

    Hierarchy (View Summary)

    Index

    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

    • Function

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

      makeClickBuffer

      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