Assigned
Status Update
Comments
wa...@google.com <wa...@google.com>
wa...@google.com <wa...@google.com> #2
Yes please :) Along with a more specific definition of how the Popular Times are determined (how much history? done by mobile device activity? check ins?)
Description
-----------------------
Return surrounding/boundary street segments around a location (e.g. school)
API parameters
--------------------
- location lat
- location lng
- street type (e.g.: street, road). Full list:
- exclude street type (e.g: highway, gravel road)
Return
--------
a list of street segments just like what is returned by 'Snap to Roads' Road API.
List item:
{
"location": {
"latitude": 26.31840530016049,
"longitude": -80.09622576891894
},
"originalIndex": 0,
"placeId": "ChIJcZbR0Xji2IgRtlFPbjScSzI"
}
I can get the detail by the Place Details API
{
"html_attributions": [],
"result": {
"address_components": [
{
"long_name": "599-565",
"short_name": "599-565",
"types": [
"street_number"
]
},
{
"long_name": "East Hillsboro Boulevard",
"short_name": "FL-810",
"types": [
"route"
]
},
{
"long_name": "Deerfield Beach",
"short_name": "Deerfield Beach",
"types": [
"locality",
"political"
]
},
{
"long_name": "Broward County",
"short_name": "Broward County",
"types": [
"administrative_area_level_2",
"political"
]
},
{
"long_name": "Florida",
"short_name": "FL",
"types": [
"administrative_area_level_1",
"political"
]
},
{
"long_name": "United States",
"short_name": "US",
"types": [
"country",
"political"
]
},
{
"long_name": "33441",
"short_name": "33441",
"types": [
"postal_code"
]
}
],
"formatted_address": "599-565 E Hillsboro Blvd, Deerfield Beach, FL 33441, USA",
"geometry": {
"location": {
"lat": 26.3184053,
"lng": -80.0960066
},
"viewport": {
"northeast": {
"lat": 26.31975428045506,
"lng": -80.0946576197085
},
"southwest": {
"lat": 26.31705631987205,
"lng": -80.0973555802915
}
}
},
"id": "c6062b8abf66bc0aad67d49ce3c909796a9b925d",
"name": "599-565 E Hillsboro Blvd",
"place_id": "ChIJcZbR0Xji2IgRtlFPbjScSzI",
"types": [
"route"
],
"url": "
"vicinity": "Deerfield Beach"
},
"status": "OK"
}