Issues with the 'map.view-mode-changed' event
I have a problem with getting the 'map.view-mode-changed' event to work as an event listener. First of all I am unsure of how to set in the possible arguments in the events listener configuration as it seem like the event to listen for only has a single line to write text. I have tried writing it as a json as I would have done with a command, but that did not work either.
Further, I tried to set the event just without arguments to see if I could even get it to work, but that was also unsuccesful.
I want to have a component shown when toggling to a WebScene and then hidden when toggling to a WebMap.
Any suggestions or anyone else who have also experienced this?
0
Please sign in to leave a comment.
Comments
0 comments