Creates an instance of FixtureInstance.
FixtureInstance
Readonly
$iThe instance of RampMap API scoped to a single Vue R4MP application.
APIScope
Private
detailsReadonly
idID of this fixture.
FixtureInstance
The instance of Vue R4MP application controlled by this InstanceAPI.
This is just a shorthand for this.$iApi.$vApp
.
APIScope
Returns the fixture config section (JSON) taken from the global config.
FixtureInstance
Read the details section of the layers' fixture config
Optional
config: DetailsConfigDetailsAPI
Optional
addedReturn the graphics of the given IdentifyItems once the items have loaded.
identify items to hilight. Items should be of ESRI format
uid of layer the items belong to
resolves with array of graphics
Highlight identified items
items to add
uid of layer the items belong to
Optional
initializedHelper with programatically creating a component in Vue 3 (replaces the deprecated Vue.extend)
FixtureInstance
Updates hilighted graphics when the hilight toggler is toggled.
Whether the toggler has been turned on/off
Optional
items: IdentifyItem | IdentifyItem[]The identify items to highlight. Only required if turning on
Optional
layerUid: stringthe layer UID that owns the items. Only required if turning on
Updates the identify result in the store, and then opens the details panel.
DetailsAPI
Reload map elements of the hilighter for a set of identify items.
items to reload
uid of layer the items belong to
Removes the specified fixture from R4MP instance.
This is a proxy to rInstance.fixture.remove(...)
.
FixtureInstance
Optional
removedProvided with the data for a single feature, shows or hides details panel.
If panel is closed or incoming data is different than current content, panel is shown.
If panel open and incoming data is what is currently shown, panel closes.
The open
parameter can override the behavior.
featureData payload (can be empty if forcing closed)
can force the panel to open (true) or close (false) regardless of current panel state
DetailsAPI
Static
updateAdds missing functions and properties to the object implementing FixtureBase interface. This is only needed for external fixtures as they can't inherit from FixtureInstance.
TODO: If you know a better way to deep-mixin props/getters/functions from a class into another class instance, please tell me. I honestly don't know 🤷♂️.
FixtureInstance
Generated using TypeDoc
A base class for Fixture subclasses. It provides some utility functions to Fixtures and also gives access to
$iApi
and$vApp
globals.Export
Implements