You are here

function google_geocode_country_list in Location 7.3

Same name and namespace in other branches
  1. 5.3 geocoding/google.inc \google_geocode_country_list()
  2. 5 geocoding/google.inc \google_geocode_country_list()
  3. 6.3 geocoding/google.inc \google_geocode_country_list()
  4. 7.5 geocoding/google.inc \google_geocode_country_list()
  5. 7.4 geocoding/google.inc \google_geocode_country_list()

Return the list of ISO3166 codes supported by this geocoder.

Google now supports geocoding for all countries: https://developers.google.com/maps/coverage

File

geocoding/google.inc, line 14
Google geocoder.

Code

function google_geocode_country_list() {
  $countries = location_get_iso3166_list();
  return array_keys($countries);
}