I know that the basic event for mouseover in jqvmap is :
onRegionOver: function(event, code, region){
}
The aim is to have different cursors when mouseover different coutries.
I tried this :
onRegionOver: function(event, code, region){
$(this).css('cursor', 'pointer');
}
But, this is in fact the whole world map.
Thank you in advance for your help.
There are two questions: how to get the reference to the map object, and how to set the style of a SVG shape.
The cursor style is defined in the JQVMap CSS file, you should override that.
Store the reference to the map object, and use this reference to do what You need.