Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. call the places API with with the following address in the autocomplete API: AV Bandeirantes, 1600 ,
2. See suggested address in the snippet attached. We can see there is a city in the suggestion but after selection there is no city in the response. We're not sure they the city returns empty
3. Below is a sample response: {
"html_attributions" : [],
"result" :
{
"address_components" :
[
{
"long_name" : "1600",
"short_name" : "1600",
"types" :
[
"street_number"
]
},
{
"long_name" : "Estrada dos Bandeirantes",
"short_name" : "Estr. dos Bandeirantes",
"types" :
[
"route"
]
},
{
"long_name" : "Vargem Grande",
"short_name" : "Vargem Grande",
"types" :
[
"sublocality_level_1",
"sublocality",
"political"
]
},
{
"long_name" : "Rio de Janeiro",
"short_name" : "Rio de Janeiro",
"types" :
[
"administrative_area_level_2",
"political"
]
},
{
"long_name" : "Rio de Janeiro",
"short_name" : "RJ",
"types" :
[
"administrative_area_level_1",
"political"
]
},
{
"long_name" : "Brazil",
"short_name" : "BR",
"types" :
[
"country",
"political"
]
},
{
"long_name" : "22775-109",
"short_name" : "22775-109",
"types" :
[
"postal_code"
]
}
],
"adr_address" : "\u003cspan class=\"street-address\"\u003eEstr. dos Bandeirantes, 1600\u003c/span\u003e - \u003cspan class=\"extended-address\"\u003eVargem Grande\u003c/span\u003e, \u003cspan class=\"locality\"\u003eRio de Janeiro\u003c/span\u003e - \u003cspan class=\"region\"\u003eRJ\u003c/span\u003e, \u003cspan class=\"postal-code\"\u003e22775-109\u003c/span\u003e, \u003cspan class=\"country-name\"\u003eBrazil\u003c/span\u003e",
"formatted_address" : "Estr. dos Bandeirantes, 1600 - Vargem Grande, Rio de Janeiro - RJ, 22775-109, Brazil",
"geometry" :
{
"location" :
{
"lat" : -22.9380573,
"lng" : -43.3724613
},
"viewport" :
{
"northeast" :
{
"lat" : -22.9367149197085,
"lng" : -43.3710747197085
},
"southwest" :
{
"lat" : -22.9394128802915,
"lng" : -43.37377268029149
}
}
},
"icon" : "
"icon_background_color" : "#7B9EB0",
"icon_mask_base_uri" : "
"name" : "Estr. dos Bandeirantes, 1600",
"place_id" : "test",
"plus_code" :
{
"compound_code" : "3J6H+Q2 Vargem Grande, Rio de Janeiro - State of Rio de Janeiro, Brazil",
"global_code" : "589R3J6H+Q2"
},
"reference" : "test",
"types" :
[
"street_address"
],
"url" : "
"utc_offset" : -180,
"vicinity" : "Vargem Grande"
},
"status" : "OK"
}