I can get place details from Google places API when I know the reference by using:
However, I want to get the same information by using the ID instead. So the same place in the query above would be something like:
Is such a thing possible?
This will be part of a search filter I'm building, part of which is location. My search parameters are passed to the url, so I plan to do the same with the selected location from the places autocomplete. Using id is much shorter than reference, so more suitable for the querystring. Unless there is a better way to do it?
It is now possible to fetch place data by placeId:
https://developers.google.com/maps/documentation/javascript/examples/place-details