In Google Places, each place has a specific placeId. We store this placeId and use it to retrieve information about the place as needed. For this approach to work, we need to confirm:
Thanks in advance for any/all help!
Yes, each place has a unique ID.
No google do not re-use IDs. For each place in this world google have unique id for it.
A place can only be deleted if: 1. It was added by the same application as is requesting its deletion. 2. It has not successfully passed through the Google Maps moderation process, and is therefore visible only to the application that added it.
Also for more info, here is a small notice from Google:
Note: The id and reference fields are deprecated as of June 24, 2014. They are replaced by the new place ID, a unique identifier that can be used to compare places and to retrieve information about a place. The Places API currently returns a place_id in all responses, and accepts a placeid in the Place Details and Place Delete requests. Soon after June 24, 2015, the API will stop returning the id and reference fields in responses. Some time later, the API will no longer accept the reference in requests. We recommend that you update your code to use the new place ID instead of id and reference as soon as possible.
I hope I answered your questions, for more help, kindly comment, I'll reply. Reference:
https://developers.google.com/places/documentation/search
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With