Free Directory, Listing & Classifieds WordPress Plugin › Support › Extensions › Geolocation › GOOGLE MAPS
- Adanara775 months ago
Good afternoon, Google has sent me an email saying that the geolocation API has changed and certain properties must be corrected because throughout the year they will be deprecated.
I hope you can solve this problem, the email is as follows:
Hello Google Maps Platform Customer,
You have until November 20, 2020, to perform the changes in your code as described below.
What do I need to know?
utc_offset, which is returned on Place Details requests and
opening_hours.open_now, which is returned on Place Details, Find Place, Nearby Search and Text Search requests.
These properties have been replaced as follows:
utc_offset, by utc_offset_minutes
opening_hours.open_now, by the isOpen() method in Place Details requests only.
Additionally, for Find Place, Nearby Search and Text Search requests, we provide alternative solutions for determining whether a place is open.
If you are not already doing so, using the fields parameter in Place Details requests will save you money in case you don’t need all the fields for returned places. If you do not specify at least one field with a request, or if you omit the fields parameter from a request, all possible fields will be returned, and you will be billed accordingly, for all data SKUs.
What do I need to do?
Before November 20, 2020, follow the Place Field Migration guide to make the necessary property and method substitutions and to see the alternative options for obtaining opening_hours data to prevent user experience degradation. We have also recently published a video explaining how to get current open status through Place Details using the isOpen method and utc_offset_minutes field.
Thanks for reporting this. These changes shouldn’t affect Geolocation because these deprecated properties (opening hours for places and UTC offset) are not used.
You must be logged in to reply to this topic.