themustafaomar / jsvectormap

A lightweight JavaScript library for creating interactive maps and pretty data visualization.
https://jvm-docs.vercel.app
MIT License
398 stars 80 forks source link

Error on tooltip for dynamically added marker in 1.6.0 #157

Open ishaiavrahami opened 3 months ago

ishaiavrahami commented 3 months ago

When hovering over the regions im not getting any errors. However, after adding a marker dynamically and then hovering over it it works, but throwing an error in console. I suggest adding ?. when nesting. See pic below

Screenshot 2024-06-18 at 11 52 30 AM
themustafaomar commented 3 months ago

Hi @ishaiavrahami

Can you provide an example that reproduces the issue, I tried to implement an example depending on the given steps but I can't see an error.