Knowledge Base

Unselecting map object after its description box is closed

When you click an object on the map – an area or image – that has a description, the object is selected and the description box pops up.

This demo shows how you can use descriptionClosed event and selectObject() method without any parameters to automatically unselect the object when the description box is closed.

"listeners": [{
  "event": "descriptionClosed",
  "method": function(ev) {
    ev.chart.selectObject();
  }
}]