SSL is MUST for GeoLocation API in Chrome Browser

  • Updated on: August 19, 2024

Chrome has a public intent to deprecate powerful features like geolocation on non-secure origins, and they are hoping that browsers will also follow them. This major change is effective from Chrome version 50 (12 PM PST April 20, 2016). From now if your site doesn’t run over SSL the GeoLocation API feature will not appear on your site.

geolocation prompt
GeoLocation API Feature Google Chrome

So from now on, your site must have an HTTPS Secure URL if you want to use Google Chrome GeoLocation API. Firefox hasn’t implemented this feature yet so a geolocation prompt will appear in Firefox. Here is the reference announcement from the Google Chrome Browser.