Sometimes I’d like to know if the user does not choose to share his location. Is there an event that gets called when the share location pop up is closed without sharing?
PS: The error callback does not get called when the user does not share his location.
This topic answers the same question:
Geolocation feedback while accepting the request
I have copied some of the code below, but check the page as there is an example of how to handle them no accepting or denying but ignoring the request on a timeout.