If you faced problems with geolocation on your website using Google Chrome browser, it’s because of Google decision to allow geolocation functionality only for websites that use SSL certificate. Change is applied in Google Chrome browsers from version 50.
More information you can find in official source: https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only
Note: As of Chrome 50, the Geolocation API will only work on secure contexts such as HTTPS. If your site is hosted on an non-secure origin (such as HTTP) the requests to get the users. location will no longer function.