Creates an instance of FixtureInstance.
FixtureInstance
Readonly
$iThe instance of RampMap API scoped to a single Vue R4MP application.
APIScope
Readonly
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
Optional
hilightConfig: HilightConfigOptional
addedReturn the hilightLayer
Helper with programatically creating a component in Vue 3 (replaces the deprecated Vue.extend)
FixtureInstance
Removes the specified fixture from R4MP instance.
This is a proxy to rInstance.fixture.remove(...)
.
FixtureInstance
Optional
removedStatic
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
Exposes methods to manage the hilighting of features on the map