hide

hides HTML area element within the specified node

void hide(HTMLElement html,string userdata,boolean mode);
htmlHTMLElementHTML element in which map areas need to be hidden
userdatastringvalue of 'userdata' attribute of the area element (used by chart series)
modebooleantrue for hiding, false for showing

Example

map.hide(document.getElementById("mydiv"), "data", true);

Back to top