markmarkoh/datamaps

choropleth map color not updating when highlight on hover set to true

ruppo-912116 opened this issue · 0 comments

When highlight on hover is set to true, and the map is updated using updateChoropleth. for example, i displayed the choropleth map and on selecting a country from the map, the country changes its colorto something else(e.g. green). if the pointer stays on the country where it is clicked, it shows the changed color(green) until the cursor stays on that country but when the mouse pointer leaves the country, the color doesnot stay, but if the pointer is removed quickly from that country after clicking, everything works fine and disabling the highlight on hover solves the issue.