It seems that with this code:
var map = null;
map = new Datamap({
// Conf 1 ...
});
// Draw map on DOM
// Remove map from DOM and recreate another map
map = null;
map = new Datamap({
// Conf 2 ...
});
after the second assignment map
and the resulting Datamap is a mixture of Conf 1
and Conf 2
.
How this could happen?
Here is a live demo: https://jsfiddle.net/mztyLh66/7/