yes, sublocality, but not sublocality_level_[1,2,3] (I found them only in 
Japan).

I also found more "rare" cases (or at least unexpected by me). For example, 
can a response have 2 localities? (I have several of these):

_xdc_._4464t6 && _xdc_._4464t6( {
  "status": "OK",
  "results": [ {
    "types": [ "sublocality_level_1", "sublocality", "political" ],
    "formatted_address": "Japan, Gifu Prefecture Ono District Shirakawa飯島",
    "address_components": [ {
      "long_name": "飯島",
      "short_name": "飯島",
      "types": [ "sublocality_level_1", "sublocality", "political" ]
    }, {
      "long_name": "Shirakawa",
      "short_name": "Shirakawa",
      "types": [ "locality", "political" ]             
<----------------------------------------- NOTICE HERE
    }, {
      "long_name": "Ono District",
      "short_name": "Ono District",
      "types": [ "locality", "political" ]             
<----------------------------------------- AND HERE
    }, {
      "long_name": "Gifu Prefecture",
      "short_name": "Gifu Prefecture",
      "types": [ "administrative_area_level_1", "political" ]
    }, {
      "long_name": "Japan",
      "short_name": "JP",
      "types": [ "country", "political" ]
    } ],
    "geometry": {
      "location": {
        "lat": 36.2745084,
        "lng": 136.9003169
      },
      "location_type": "APPROXIMATE",
      "viewport": {
        "southwest": {
          "lat": 36.2565154,
          "lng": 136.8683021
        },
        "northeast": {
          "lat": 36.2924973,
          "lng": 136.9323317
        }
      },
      "bounds": {
        "southwest": {
          "lat": 36.2591263,
          "lng": 136.8505725
        },
        "northeast": {
          "lat": 36.2956679,
          "lng": 136.9138389
        }
      }
    }
  } ]
}
 )



-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-maps-js-api-v3?hl=en.

Reply via email to