AnsweredAssumed Answered

How to clear the map of infoTemplate window?

Question asked by cadrin on Nov 26, 2012
Latest reply on Nov 26, 2012 by cadrin
Hi all,

I want to know if there is anyway I could clear my map of the infoTemplate window?

In this example, on the map.graphics.clear() the polygon selection disappear, but not the infoTemplate window.


if( getActiveTool() == "#identify_spot" ) {  setActiveTool();  map.graphics.clear();  dojo.disconnect(getDojoClick()); }



How can I clear both the graphics and the infoTemplate window?

Thank you, it's realy appreciated.

Outcomes