jvectormap
jvectormap copied to clipboard
How to set a region to "hover" state programmatically?
How can I set Taiwan region to "hover" mode (colors + opacity + cursor...) when I actually hover China region, using Javascript/JQuery ?
If you mean, that you want to highlight TW when mose is over China. Then I would recommend changing the jquery-jvectormap-world-mill.js, where you would take the TW coordinates and place them into China path. Later, remove TW part. This way, these coordinates will be part of China region and you are done. Nothing else to do.