How do you create custom country/region strings for GeoMaps?

937 views
Skip to first unread message

greendig

unread,
Sep 2, 2011, 3:37:39 PM9/2/11
to Google Visualization API
Hey guys
I think this is easy but can't figure out what to do. I'm implementing
a big web project with interactive maps on climate change. We're using
GeoMaps to do the visualization but having trouble creating a drop-
down menu of world regions. The API documents some custom strings
( http://code.google.com/apis/chart/interactive/docs/gallery/geomap.html#regionsexample
)
but it has some important ones missing. For instance Europe is divided
into 3 sections - it should be simply one section. And Australasia
(which combines AU, NZ, PG, FJ, SB) is also not documented. Is there a
way to create custom region strings? Or is there a list of
undocumented regions strings somewhere?

Help appreciated! For context, here is what we have so far:
http://molicious.freehostingcloud.com/

Thanks, Karl

ChartALot

unread,
Sep 5, 2011, 7:33:57 AM9/5/11
to google-visua...@googlegroups.com
Hi,
I suggest you use our newer, HTML5 visualization instead (GeoChart), it is better maintained.

Please use options['region'] = '009' to see "Australasia".

If you use GeoChart instead of GeoMap, you can use options['resolution']='continents', which will show each continent as a region. (Your 'region' option should be either world or a continent).

We do not provide a way to create custom maps.

HTH.



--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Reply all
Reply to author
Forward
0 new messages