Recently, we’ve received a lot of questions about the google geolocation issues and this is the article to explain clearly to the issue mentioned.
Google has just removed their Geolocation API from unsecured origins and this means Chrome, Firefox, and other browsers no longer support obtaining the user’s location using the HTML5 Geolocation API from pages delivered by non-secure connections.
This also means that the page that’s making the Geolocation API call must be served from a secure context such as HTTPS.
Concerning this issue, you can visit this link to get a closer look at how it changes and its effects for reference.
It would be best if you reach out directly to Google with a question through the link above.