AnsweredAssumed Answered

map popupwindow events

Question asked by chflo1234 on May 4, 2017
Latest reply on May 5, 2017 by chflo1234

Hi, I am developing an "Identify" widget that will display information about clicked features in the map. This widget is resizable and can be moved around in the map, and is supposed to be an alternative to the map.infoWindow that is not resizable and not movable.


When my widget is started the first time I set the default popup to not show:"popupWindow", false);

Then I set up the widget to listen to the "onSetFeatures" and "onClearFeatures" events of the map.popup window.

This works perfectly fine, but has several limitations:


  • The user now has to open the Identify widget before the map popups are turned off.
  • When making the webmap, - if turning off the popups on all layers - the onSetFeatures and OnClearFeatures events won't fire


What I want to achieve is that I want to have my Identify widget working properly whether or not all popups are turned off in the webmap.


Will this mean that I have to implement the widget in an other way that listening to the events from the popup window?