Reputation: 681
Hellos,
I gave up on using Google Places due to the cost and decided to go with here geocode api
. I started using Places Search API which works pretty great but does not return the lat
and lng
.
So my solution is as follows
Search API
locationId
to get the lat
and lng
This solution works but is obviously slow. So my question here is
Cheers
Upvotes: 0
Views: 259
Reputation: 5223
Please use Autosuggest instead of Places Search API.
You can find below field in Autosuggest API
"title": "restaurant",
"highlightedTitle": "<b>rest</b>aurant",
"category": "restaurant",
"href": "https://...",
"type": "urn:nlp-types:search",
"resultType":"category"
Upvotes: 0