summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--geocoding/google.inc40
1 files changed, 38 insertions, 2 deletions
diff --git a/geocoding/google.inc b/geocoding/google.inc
index e797da5..78393c7 100644
--- a/geocoding/google.inc
+++ b/geocoding/google.inc
@@ -8,32 +8,68 @@
/**
* Return the list of ISO3166 codes supported by this geocoder.
+ * Coverage list: http://gmaps-samples.googlecode.com/svn/trunk/mapcoverage_filtered.html
+ * Possibly in the future, allow to autogenerate this by pulling down and parsing the spreadsheet?
*/
function google_geocode_country_list() {
return array(
+ 'al',
'at',
+ 'au',
+ 'ba',
'be',
+ 'bg',
'br',
+ 'by',
'ca',
'ch',
+ 'ci',
+ 'cl',
'cz',
'de',
+ 'dk',
+ 'ec',
+ 'ee',
'es',
+ 'fi',
'fr',
+ 'gr',
+ 'hk',
'hu',
'ie',
'in',
'it',
+ 'jp',
'li',
+ 'lt',
'lu',
- 'mc',
+ 'lv',
+ 'md',
+ 'me',
+ 'mo',
+ 'mx',
+ 'nc',
+ 'ni',
'nl',
+ 'no',
'pl',
'pt',
+ 'ro',
+ 'ro',
+ 'rs',
+ 'se',
'sg',
+ 'si',
+ 'sk',
+ 'sm',
+ 'sv',
+ 'th',
+ 'tr',
'tw',
- 'us',
+ 'ua',
'uk',
+ 'us',
+ 'uy',
);
}