Question

From Google Places documentation

reference contains a unique token that you can use to retrieve additional information about this place in a Place Details request. You can store this token and use it at any time in future to refresh cached data about this Place, but the same token is not guaranteed to be returned for any given Place across different searches.

You can use a reference to retrieve information about a place, but if you get that place in a search in the future, it won't have the same reference. Multiple references will reference the same place. Is there a way to test if two references that I stored are for the same place? When I store references, it's creating redundancy in my database.

Was it helpful?

Solution

I'm afraid that the only distinct feature of a place is the google+ -url returned by a details-request

OTHER TIPS

Check the id value, which will always be the same for one place.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top