Just to clarify, when I say "pretty accurate for me" I mean pretty accurate
for IP based location.  There are inherent inaccuracies with IP based
location because the IP is mapped to the service provider.

On Thu, Oct 9, 2008 at 1:43 PM, Ben Lisbakken <[EMAIL PROTECTED]> wrote:

> The important thing to note is that the GeoLocation service isn't solely IP
> based like the site you linked to.  On Windows Mobile the GeoLocation API
> will use GPS, Cell ID, Wifi, and IP's to find the location.  On a desktop
> computer, it will use WiFi and IP information.  As far as IP based location,
> it has been pretty accurate for me and should be for everyone.
>
> -Ben
>
> On Wed, Oct 8, 2008 at 2:22 PM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
>
>>
>> How accurate geolocation service is?
>>
>> http://www.infobyip.com has proven to be pretty accurate.
>>
>>
>> On Oct 6, 4:56 am, Pratibha <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I am new to Google APIs and as per my requirement I am currently
>> usingGeolocationAPI. I installed the gears on my device and could
>> > successfully execute the sample application ongeolocationapi and got
>> > the current address on my device.
>> >
>> > Now I am trying to write my own html page which calls thegeolocation
>> > API ,but I am stuck here and urgently need help……………
>> > Here is my code:-
>> >
>> > <html>
>> >
>> > <head>GEOLOCATIONAPI</head>
>> >
>> > <body>
>> > <script src="gears_init.js"></script>
>> > <script>
>> > function updatePosition(position) {
>> > alert('Current lat/lon is: ' + position.latitude + ',' +
>> > position.longitude);
>> >
>> > }
>> >
>> > function handleError(positionError) {
>> >
>> >   alert('Attempt to get location failed: ' + positionError.message);
>> >
>> > }
>> >
>> >  var geo = google.gears.factory.create('beta.geolocation');
>> >
>> > alert('Hi2');
>>                //
>> > is not displayed
>> >
>> > geo.getCurrentPosition(updatePosition, handleError);
>> >
>> > </script>
>> > </body>
>> >
>> > </html>
>> > As mentioned I have included the gears_init.js  file but still I think
>> > the statement
>> >
>> >   var geo = google.gears.factory.create('beta.geolocation');
>> > is not being executed.What may be the issue? Kindly do instruct me as
>> > soon as possible.
>> > Any pointers to this would be of great help to me.
>>
>
>

Reply via email to