Geolocation in php

0

I'm trying to get my location by means of the api of google maps implemented in php and javascript but when trying to get it I get a warning , which is as follows:

  

getCurrentPosition () and watchPosition () no longer work on insecure   origins. To use this feature, you should consider switching your   application to a secure origin, such as HTTPS. See    link for more details.

    
asked by Aruro deGyy 10.11.2016 в 18:59
source

1 answer

2

In Google Chrome you can only access the location from a secure site with SSL certificate, you can try another browser or configure one.

    
answered by 10.11.2016 в 19:23