Open
Description
I use this great plugin to create a map (from a svg), linked to a json file where I put all the datas : cities (name, text, lat, lon...).
To display these datas on click, I've done this :
eventHandlers: { click: function (e, id, mapElem, textElem) { getCityData(cities[id]) } }
It works everywhere but not all the time. The mouse hover event seems to be slower and doesn't work at the first time on every area(path).
I tried to use another map from your website, the issue is still there, so I'm wondering if there is a conflict with my own code or if I haven't used this eventHandlers correctly. Maybe that's because this map is resized in a container ?
So, if anyone has an idea, thank you for your help :)
- Mapael version: 2.2.0
- Raphael version: raphael/2.2.7
Metadata
Metadata
Assignees
Labels
No labels