Closed lopezavila85 closed 9 years ago
It seemed to be possible. However, the object had to be created in a slightly different way:
var m = {};
m[key] = {
inetUsers: mapData[key].inetUsers,
fillKey: mapData[key].fillKey,
country: mapData[key].country,
selectedCountry: mapData[key].selectedCountry
};
map.updateChoropleth(m);
Hello everyone,
I am loading a Datamap with JSON objects similar to this one:
Furthermore, when I load it using d3.json method I assign the fillKey:
I want to select a country and mark it with a different color:
Why can't I update the map with the full object? Or how it should be done? Thanks in advance