pilathraj / geo-location-javascript

Automatically exported from code.google.com/p/geo-location-javascript
0 stars 0 forks source link

Use IP Address when all fails #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I recommend exposing an option to rely on the IP address if geolocation fails.

Google AJAX API provides a method for IP Address location lookup: 
http://code.google.com/intl/de-DE/apis/ajax/documentation/#ClientLocation .

Original issue reported on code.google.com by msaeed43 on 7 Aug 2009 at 7:51

GoogleCodeExporter commented 8 years ago
I would say 'no' to that. The majority of applications / sites using this will 
be for
mobile devices and as such you will be using your mobile operators IP address. 
My
'mobile IP' is in Buckingham, about 300miles from my actual location! Not 
useful at
all, unless you live in Buckingham!

Original comment by maft.mor...@googlemail.com on 10 Oct 2009 at 11:47

GoogleCodeExporter commented 8 years ago
(sorry for the late reply, google changed issue notification)

Its right you can't really rely on IP addresses at all. Good examples are 
blackberry
devices and Opera Mini where the traffic goes through proxies located in canada 
or
norway. 

And for other mobile providers it might put you where the headquarter of the
organization is located.

Makes sense?

Original comment by whoiss...@gmail.com on 3 Nov 2009 at 7:03

GoogleCodeExporter commented 8 years ago

Original comment by whoiss...@gmail.com on 12 Dec 2009 at 2:24