maphilight icon indicating copy to clipboard operation
maphilight copied to clipboard

How to clear selected items on click of other area

Open DesigningStudios opened this issue 9 years ago • 2 comments

Here is the link to download zip: http://bit.ly/1PlqGmJ (POC i created)

Issue: On click i am highlighting selected map area. if i click on other map area, script should remove previously selected map area and show for the present clicked map area.

DesigningStudios avatar Aug 19 '15 06:08 DesigningStudios

anyone came up with the solution?

amnewone avatar Sep 29 '16 08:09 amnewone

$('area').each(function() { var data = $(this).mouseout().data('maphilight') || {}; data.alwaysOn = false; $(this).data('maphilight', data) });

stevenhalase avatar Oct 05 '17 16:10 stevenhalase