RAMP4 - v4.22.0-beta
    Preparing search index...

    Class DevAPI

    Contains endpoints useful for dev debugging and such

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    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

    • Add a layer to the map and legend (if legend exists)

      Parameters

      • layerConfig: RampLayerConfig

        a RAMP layer configuration object

      • OptionallegendConfig: any

        optional legend block configuration object. If not provided, a default layer block will be created

      Returns Promise<LayerInstance>

      resolves with the layer instance