Is there a way to know if geolocation is enabled for the current domain?
The website I'm working on uses HTML5 geolocation api. It works fine, but
I need to know if the feature has been authorized.
navigator.geolocation only tells if the feature is available. What I want
to know is whether the user has enabled it already. Basically, I need to
know if the browser will request permission to use the feature. Is it
possible?
No comments:
Post a Comment