If I add a jvectormap to the DOM, mouseover it, and then remove it, it leaves behind the label it used for the hover text.
It creates a new label for each jvectormap created and doesn't remove any of them.
How do you remove jvectormap map? Probably there should be a specific method for removing map which would care about labels too.
Say I have:
This is a simplified example, of course.
I think the proper fix is to parent the label to the element that has the map. Not the body. Then when the map element, whatever that is, is removed, the label will be removed too.
@taybin Ok, I got it. I think this could be possible to move label inside of the map container. Thank you for proper description.