If you are using displayMode: 'markers', then you should specify lat/long
points. If you are using displayMode: 'regions', then you should specify
the ISO 3166-1 <http://en.wikipedia.org/wiki/ISO_3166-1> and ISO
3166-2<http://en.wikipedia.org/wiki/ISO_3166-2>region codes (depending
on your resolution). Here is an example jsfiddle:
http://jsfiddle.net/3caBB/1/

- Sergey


On Mon, Mar 31, 2014 at 4:42 PM, Mihai Damian <[email protected]>wrote:

> I see that Geochart uses the geocoding API behind the scenes to process
> the input data on it's draw method. In the docs, under Data Policy it says
> that "Any data that does not require geocoding is not sent to any server".
> What format should I use for the location data so that geocoding is no
> longer performed (my data is all static so I could have this pre-computed).
> Right now I pass in a table similar to the one in the example:
>
> [
>           ['Country', 'Popularity'],
>           ['Germany', 200],
>           ['United States', 300],
>           ['Brazil', 400],
>           ['Canada', 500],
>           ['France', 600],
>           ['RU', 700]
>         ]
>
> Do I need to pass in a short country name (like DE, US, FR, RU, etc.)  or
> a lat/long location?
>
> The reason I ask this is because I see something that looks like a
> limitation in the number of geocodings per page load. I have two tables of
> about 150 countries each. I can individually draw each table just fine in a
> geochart, but if I try to draw a second table after the first one (after
> the 'ready' event fires, of course) I only see some of the countries being
> updated and the draw fails (no 'error' event is fired though). Strangely,
> this never happens if I clip the tables to say 60 entries each, hence my
> conclusion that I must be hitting some hard limit in the geocoder. I don't
> know if this makes any sense, but I wanted to give a bit of context...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Chart API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-chart-api.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-chart-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to