As noted in the
documentation<http://code.google.com/apis/chart/interactive/docs/gallery/geomap.html#Configuration_Options>,
you should use ISO 3166-1 <http://en.wikipedia.org/wiki/ISO_3166-1> codes
for addressing a region. You can use the following
page<http://unstats.un.org/unsd/methods/m49/m49regin.htm>for
understanding which continent contains which country. It should be
quite
simple to accomplish what you are looking for using this information. I'm
not aware of an API that does that.

HTH

On Tue, Aug 23, 2011 at 8:05 PM, moli <[email protected]> wrote:

> I am trying to display a user distribution map using google geomap. I
> would like to show the region map when all the users are from the same
> region.
>
> For example, if all the users are from Germany and France, I want to
> show the Eroupe region map instead of the world map. Is there a google
> api let us get the region code for a country?
>
>
> Thanks.
>
> --
> 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.
>
>

-- 
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