Skip to main content
Question

how to realize this hovering effect in a map

  • October 30, 2025
  • 0 replies
  • 8 views

mengxi zhang

Hello! I’m doing web design and want to realize this effect.


When mouse hovering in a country,
1. the country turns dark color
2. shows the address information panel accordingly under the small dots.

effect reference:  https://www.chinatelecomeurope.com/our-story/office-locations/

Should I make component of each country? But I don’t want to drag the instances of them to the map, I can’t keep the exact position of each country. I need your help. thanks 😊