I'm evaluating to use the Geomap visualization currently.
In fact I'm trying to something similar as to current regions example.
I will need to show the popularity of country based on some data in my
system.
Everything works fine except England.
When I add a row for England it will not be displayed in the map.
My code:
var data = new google.visualization.DataTable();
data.addRows(3);
data.addColumn("string", "Country");
data.addColumn("number", "Votes");
data.setValue(0, 0, "Netherlands")
data.setValue(0, 1, 200)
data.setValue(1, 0, "Germany")
data.setValue(1, 1, 400)
data.setValue(2, 0, "England")
data.setValue(2, 1, 450)
var options = {};
options["dataMode"] = "regions";
var container = document.getElementById("map");
var geomap = new google.visualization.GeoMap
(container);
geomap.draw(data, options);
I guess this is related to the fact England is not a country on the
ISO 3166 list.
Is there anything I can do about this?
Cheers,
Marcel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---