Locality not always returned, even though sublocality is known

34 views
Skip to first unread message

Paul Duey

unread,
Jul 26, 2011, 12:42:53 PM7/26/11
to google-map...@googlegroups.com
I am using jquery gmap3 plugin to do address autocomplete. I've found one anomaly. 

In the 2 following queries, the first includes the street number, route (street), and sublocality while the second also includes the administrative_area_level_1 (state).

Both queries return a complete street address, but the first query response does not include the locality (city), while the second does.

This is for an address in New York, where boroughs and neighborhoods can be significant.

1st query:

2nd query:

My fallback is to use the sublocality when locality is not present, which is okay, but can result in inconsistencies, so it's not ideal.

I'm curious if this is a bug, something unique to New York, or if I'm just missing something.

Any insight is appreciated.

Reply all
Reply to author
Forward
0 new messages