You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a html table with some countries. Clicking on country row I have a country code, so I need to show tooltip (and zoom on it if necessary), highlight country (same as mousenter event) programmatically using id of country path.
It's possible with this script ?
Alberto
The text was updated successfully, but these errors were encountered:
You can always highlight with CSS, all country paths have the class svgMap-country, sou your selector could be .svgMap-country[data-id="DE"] for example.
Of cource you could also add and remove a class to highlight: $('.svgMap-country[data-id="DE"]').addClass('my-class');
There is no automatism to zoom to a specific country, that would have to be done manually.
Hi,
I have a html table with some countries. Clicking on country row I have a country code, so I need to show tooltip (and zoom on it if necessary), highlight country (same as mousenter event) programmatically using id of country path.
It's possible with this script ?
Alberto
The text was updated successfully, but these errors were encountered: