Answer the question
In order to leave comments, you need to log in
Is it possible to overcome the error "To use this feature, you should consider switching your application to a secure origin, such as HTTPS"?
I use this script:
https://github.com/BlueBiteLLC/service-geolocate-l...
it gives an error:
getCurrentPosition() and watchPosition() are deprecated on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
Answer the question
In order to leave comments, you need to log in
It seems that it only works from a site on httpps, it is possible that it doesn’t, this is a limitation in the default browser
Well, oops.
"!!Important!!: Due to a change in the Chrome API, Geolocation has been disabled from non-https origins"
Right there on the page you link to.
Put Google Chrome below version 50 and the error will disappear
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question