jQuery-Mapael icon indicating copy to clipboard operation
jQuery-Mapael copied to clipboard

Mouseover issues

Open marie-dialogues opened this issue 4 years ago • 0 comments

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

marie-dialogues avatar Jun 04 '21 13:06 marie-dialogues