简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM