- From: Ryan Alyea <ryan@fangamer.com>
- Date: Wed, 2 Nov 2011 15:08:06 -0700
- To: public-geolocation@w3.org
There should be a navigator.geolocation.enabled or navigator.geolocation.trusted element if the browser trusts the page. Blindly using navigator.geolocation.getCurrentPosition in many browsers forces a popup box asking if the page should be trusted, which is poor UI. I run an e-commerce store that would like to get their zip code for shipping calculations, and getting their position from their device is much more reliable than an IP-only based geolocation. I would like to see if the user trusts me to give their location and use navigator.geolocation.getCurrentPosition else fallback to another method, that way the user never sees the trust popup. Ryan Alyea ryan@fangamer.com
Received on Thursday, 3 November 2011 17:53:08 UTC