I’m building a map application and have noticed that although IE9 supports the geolocation api it incorrectly calculates the latitude/longitude.
Other users have also noticed this http://social.technet.microsoft.com/Forums/en-IE/ieitprocurrentver/thread/aea4db4e-0720-44fe-a9b8-09917e345080, but no amount of googling brings up any results from developer blogs/more technical readers… which I find just bizarre, is no one testing their geolocation code in IE9!?
Here is my example code: https://gist.github.com/1710256
Does anyone here know why this would be because it makes feature detecting the geolocation api damn near impossible. Also, I noticed that the fallback (as provided in Paul Irish’s polyfill) also has the same issues as found in IE9’s native implementation?
Has anyone else experienced this issue with geolocation on IE9?
Any help/advice appreciated.
According to this page Firefox uses Google Location Services:
And according to this page Internet Explorer (rather predictably) uses Microsoft Location Services:
The difference in the reported location will be due to the differences in the underlying databases, for example the Google database may list a WiFi point or IP address that the Microsoft one doesn’t (or visa versa).
I can’t find any information about changing the location provider for IE, and although Firefox does appear to have provisions for alternative providers I can’t at this moment see how to change it.
Note that for me Internet Explorer actually reports my location more accurately (both browsers get my location correctly, however in IE the error radius is around 10 miles whereas in Firefox its around 20 miles).