What is the event fired when a user clicks on the Layer Actions arrow?
I would like to insert a brief layer description above the list of layer actions that is either pulled from the service layer description or property of the layer but I can't find the event that fires.
I have looked at intercepting a custom layer action's canexcute function and trying to append it where I want, but it appears that the active LayerActionsView is not ready at that point..
0
-
For whatever it is worth, I ended up catching the event using the ViewContainerActivatedEvent and then checking the id. It fires a couple times, but I could do more interrogation to get what I needed.
this.app.eventRegistry.event("ViewContainerActivatedEvent").subscribe(this, (args) => {
if (args.id === "LayerDataContainerView") {
//code here
}
}0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar