Hi VizBoy,

Is it a bug?
GB is made of the countries England, Scotlant and Wales.

I want to assign different values to each country in a "World" map.

As i mentioned I guess this is related to the fact England is not a
country on the
ISO 3166 list. Only GB is.

I'm wondering if there is a workaround.

Cheers,
Marcel

On Jun 13, 5:25 pm, VizBoy <[email protected]> wrote:
> This is a bug. Thanks for reporting.
> If this is any help, you can use GB or "United Kingdom" instead, in the
> meanwhile.
>
> - VizBoy.
>
> On Mon, Jun 1, 2009 at 11:52 AM, Marcel Overdijk
> <[email protected]>wrote:
>
>
>
>
>
> > 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to