nchaulet / node-geocoder

nodejs geocoding library
http://nchaulet.github.io/node-geocoder/
MIT License
930 stars 214 forks source link

Google geocoder not using most specific value for neighborhood. #166

Closed brandondtb closed 8 years ago

brandondtb commented 8 years ago

Example:

{ "long_name" : "Midtown", "short_name" : "Midtown", "types" : [ "neighborhood", "political" ] }, { "long_name" : "Manhattan", "short_name" : "Manhattan", "types" : [ "sublocality_level_1", "sublocality", "political" ] },

The geocoder will select "Manhattan" as the value for neighborhood when the more specific candidate value "Midtown" is available.

nchaulet commented 8 years ago

Should be fixed now.