Readonly$iThe instance of RampMap API scoped to a single Vue R4MP application.
ReadonlyidID of this fixture.
Indicates whether to keep the fixture when the language changes. Defaults to true. If only one config is provided for all languages, the fixture will be kept on language change, regardless of the value of the flag.
Returns the fixture config section (JSON) taken from the global config.
Read the details section of the layers' fixture config
Optionalconfig: DetailsConfigOptionaladdedReturn 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
Get this fixture's config from the layer config with the given layer id
Will return undefined if layer config did not specify a config for this fixture
The layer's id
This fixture's config for the given layer
Combines this fixtures configs from layer configs into an indexed-dictionary
Dictionary where key is the layer id and the value is this fixture's config for that layer
If the panelTeleport property is provided, handle specified panelTeleport for the given fixture.
list of panel names for the calling fixture
If the panelWidth property is provided, handle default and specified panel widths for the given fixture.
list of panel names for the calling fixture
Return whether or not a HilightMode has been defined (other than NONE)
Highlight identified items
items to add
uid of layer the items belong to
Optionalinitialized[Optional] Called after the core map logic has executed. If the fixture is added after the map initialization, this is called immediately.
At this point, any custom content (panels, on-map components, etc.) can be added to R4MP. Custom content can also be added throughout the life of the [module].
Updates hilighted graphics when the hilight toggler is toggled.
Whether the toggler has been turned on/off
Optionalitems: IdentifyItem | IdentifyItem[]The identify items to highlight. Only required if turning on
OptionallayerUid: 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.
Reload map elements of the hilighter for a set of identify items.
items to reload
uid of layer the items belong to
OptionalremovedRemove all details panel map hilights.
Provided 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
StaticupdateAdds missing functions and properties to the object implementing FixtureBase interface. This is only needed for external fixtures that do not 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 🤷♂️.
A base class for Fixture subclasses. It provides some utility functions to Fixtures and also gives access to
$iApiand$vAppglobals.Export
FixtureInstance
Implements