SSL is MUST for GeoLocation API in Chrome Browser

  • Updated on: March 15, 2022

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 API Feature Google Chrome

So from now, your site must have 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 Google Chrome Browser.