Search code examples
javascriptjqueryajaxjvectormap

How to customize jVectorMap region popups?


I am currently using jvector map. When I hover each countries its default label shows each country name. But, I want to choose regions based on database value. How can I customize jvector map region pop up with database value?


Solution

  • You can set any content you want for tooltip using onRegionTipShow method. Just take a look at example available here.