Permissions API for the Web

added by JavaScript Kicks
4/16/2015 10:03:23 PM

2 Kicks, 315 Views

If you’ve worked with the Geolocation API before, chances are you’ve wanted to check if you had permission to use Geolocation without causing a prompt. This simply wasn’t possible. You had to request the current position and this would indicate the permission state or cause a prompt to be shown to the user.