I'm using jVectormap plugin for country highlighting on world map. Now As my question suggests i want to show country's flag when specific country is hovered over.
I don't want to do image mapping for whole world map. so don't post that solution, i don't think its a feasible solution as i don't have such time to do that.
if anybody has done this functionality using any plugin, svg, google maps, js anything please help me out.
If any paid plugin is there even then i would like to know. I have searched for 2 days. But i haven't come across such functionality yet.
You can provide a function for
onRegionLabelShow
that uses the regioncode
to construct a URL for the country flag and then customize thelabel
.An example of how the rendered label looks with the country flag when you mouse over a region: