Thennarasu
Thennarasu

Reputation: 474

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?

Upvotes: 1

Views: 2489

Answers (1)

bjornd
bjornd

Reputation: 22943

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

Upvotes: 2

Related Questions