//var map = new Datamap({element: document.getElementById('container')});
var colors = d3.scale.category10();
var arcs = new Datamap({
element: document.getElementById("container"),
看來,與此代碼: 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 ...
});
第