Next
Update
Prev

You can handle the event triggered when the user clicks on the outside of the sub-map to go back to the parent map by using the backToMapJsFunction attribute in <MapChart>. Try to click on a region to drill down to the sub-map, and click on the outside of the sub-map to go back to the parent map.

...
<MapChart ... backToMapJsFunction="backFunction">
  ...
</MapChart>

function backFunction() {
  alert("back to the main map  ");
}

<MapChart>

backToMapJsFunction This property is to set the JavaScript function to be called when the user clicks on the outside of the sub-map to go back to the parent map.

© 2017 KoolChart. All rights reserved.