masakudamatsu / mima

My Ideal Map, a web app to allow users to save places with **external links** on Google Maps
https://www.my-ideal-map.app
MIT License
1 stars 0 forks source link

Dialog text for Geolocation API errors #76

Open masakudamatsu opened 3 years ago

masakudamatsu commented 3 years ago

There are four cases.

  1. User has disabled location services with their device (error.code === 1) This happens either
    1. when the user sets their preference beforehand, or
    2. immediately after the user chooses to block Geolocation API
  2. Geolocationi API fails to retrieve location data (error.code === 2)
  3. It takes more than 10 seconds to retrieve location data (error.code === 3) For this case, handle issue #80 as well. Temporarily, we stop handling this error. See #81
  4. User's browser doesn't support Geolocation API
masakudamatsu commented 2 years ago

Links on how to enable location services will be dealt with in #104

masakudamatsu commented 2 years ago

Links on downloading browsers will be dealt with in #105