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.
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 GeoLocation Prompt will appear in Firefox. Here is the reference of announcement from Google Chrome Browser.