I need a javascript function that returns true if the user is sharing the location in the site and return false if not.
Asked
Active
Viewed 60 times
-6
-
can you share your code? – Kaushik Apr 17 '19 at 10:27
-
Are you asking if there is a way for a synchronus call? – Lukas Bonzelett Apr 17 '19 at 10:28
-
Its depend on how you are asking? share your code of asking about share location – M.Hemant Apr 17 '19 at 10:28
-
3Possible duplicate of [How to call function when user Allows or Denies access to "Physical Location"?](https://stackoverflow.com/questions/7463367/how-to-call-function-when-user-allows-or-denies-access-to-physical-location) – Kaushik Apr 17 '19 at 10:29
-
Possible duplicate of [Get city name using geolocation](https://stackoverflow.com/questions/6797569/get-city-name-using-geolocation) – Roy Bogado Apr 17 '19 at 10:29