I've a custom widget where I have a context menu to the map. From one of the menu items I want to display information from a specific layer where the user clicked. I have the map point and can open the popup-window with this.map.infoWindow.show(clickedPoint);
But it just shows an empty popUp. I have the layer (but turned off) in my web map with configured popup. Is there some easy way to populate the infoWindow with my already configured PopUp for that layer?
Or do have to query the layer and populate the info-window from scratch with map.infoWindow.setContent or something like that? And could that mess up the ordinary PopUps somehow?