Google Blogoscoped

Forum

Google Releases Geolocation Features for Ajax API, Gears  (View post)

A big fan [PersonRank 1]

Friday, August 22, 2008
15 years ago7,604 views

I read the news before this post.
However, as usual, Philipp make it much more intersting. The Machiavelli part is short but great!
Thanks, Blogoscoped rocks.

Sylvain [PersonRank 1]

15 years ago #

Indeed it is a tad "approximate". I live in Seoul, Korea, but your app placed me in :
Country: USA
Country code: US
Region: KY
City: Wellington

Shouldn't it at least be able to get the country right based on the IP address?

Philipp Lenssen [PersonRank 10]

15 years ago #

Sylvain, in comparison where does http://blogoscoped.com/where/ put you? That page is using another service, http ://api.hostip.info/get_html.php?ip=[ip_address]

robert [PersonRank 0]

15 years ago #

The demo page doesn't work at all for me – say loading... and that's it.
FF3 and IE6.
The other one (/where/) says Unknown country.

Philipp Lenssen [PersonRank 10]

15 years ago #

Robert, I changed something just now, can you try again and see if you get the "Country not found" message? http://blogoscoped.com/files/where.html

Quasihellfish [PersonRank 0]

15 years ago #

Philipp,
The demo doesn't work for me either, it always says "loading...".

The "blogoscoped.com/where/" pages correctly locates the headquarters of my company here in the US (which I presume is where our internet gateway is).

Philipp Lenssen [PersonRank 10]

15 years ago #

Quasihellfish, if you use Firefox what does the Firefox error page say, if anything? (Tools -> Error Console, pls clear old warnings before loading the Where app...)

Stephan Locher [PersonRank 9]

15 years ago #

The Same Problem here with FF2 and Opera 9.51

The FF-Error Console has the following error:
Fehler: google.loader.ClientLocation has no properties
Quelldatei: http://blogoscoped.com/files/where.html
Zeile: 15

Philipp Lenssen [PersonRank 10]

15 years ago #

Question though for who of you does it work?

Tony Ruscoe [PersonRank 10]

15 years ago #

google.loader.ClientLocation is null for me.

If you check this file which you're including:

http://www.google.com/jsapi?key=ABQIAAAApHWnqapCL4bgBuRrRVvfzRR1JzaEnpQZ7YiBBUK6ojSqkchPJxSONf7npnhRbFa8-1ypJu1y-cB4DQ

For me, the only occurrence of "ClientLocation" is line 11:

google.loader.ClientLocation = null;

And it's not in any of the other includes JS files either.

Philipp Lenssen [PersonRank 10]

15 years ago #

> If you check this file which you're including:
>
> google.com/jsapi?key=ABQIAAAAp ...

For me that line in the file reads:

google.loader.ClientLocation = {"latitude":48.8,"longitude":9.25,"address":{"city":"Stuttgart","region":"Baden-Wu00fcrttemberg","country":"Germany","country_code":"DE"}};

Tony Ruscoe [PersonRank 10]

15 years ago #

I wonder if that means they can't geolocate me then.

photoactive [PersonRank 10]

15 years ago #

I don't get a Firefox error but your "Hmm cannot initiate the Google API correctly..."

scjm [PersonRank 10]

15 years ago #

I entered the coordinates given by files/where.html in Google Maps, and it centered in on the building across the street from mine. That's pretty accurate...

Matt Cutts [PersonRank 10]

15 years ago #

To your point about why Google would offer stuff like geolocation or Gears, I think if the web gets better, then more people use it, and more people using the net means more people using Google. So it's in our best interests to work so that more people use the internet.

Philipp Lenssen [PersonRank 10]

15 years ago #

Matt, true, I believe that's another reason (but not the only one I think). What's important to consider as well is that different organizations and people have different ideas of what's a "better web", and in the end what makes it in Google Gears and what doesn't is still a shot called by Google (not say the World Wide Web Consortium)... and that's control. Microsoft would probably argue Silverlight makes the web more powerful, too... but who would they contact from the Gears team to ask for inclusion of Silverlight in Gears? (If say the two systems were half-way compatible etc., please don't take this too literal...)

Roman [PersonRank 0]

15 years ago #

http://blogoscoped.com/files/where.html works for me, it located my city of Yekaterinburg, Russia. http://blogoscoped.com/where/ USA + Mexico map ;-) IE7+Avant here.

Colin Colehour [PersonRank 10]

15 years ago #

blogoscoped.com/files/where.html Showed me about 20 miles from where I really am so that's not too bad.

FF3 on Mac.

Sylvain [PersonRank 1]

15 years ago #

Philipp, this other app blogoscoped.com/where/ shows me a frozen (yellow hued) map of the US with a few place markers (i can't interact with the map). On the left is a likewise frozen panel with scrollbar containing (unclickable) Google search results, all about Korea.

Ylde [PersonRank 1]

15 years ago #

It works well for me (France, near Paris; FF3)

TOMHTML [PersonRank 10]

15 years ago #

I get "Hmm cannot initiate the Google API correctly.." error.
It's not related to the browser, because it worked yesterday.
The only difference between yesterday and today is my location, so my IP.

Anthony [PersonRank 0]

15 years ago #

"Hmm cannot initiate the Google API correctly..." error is coming since 7 hours :)
It was working pretty well some 20 hours back before I went to sleep ..

[put at-character here]TOMHTML, My IP hasn't changed. But I am getting the message .....

TOMHTML [PersonRank 10]

15 years ago #

Ah, so it might be an issue from Google. Their bad.

BTW, did anyone noticed Gears team has also released a "BLOB API"? It's for handling binary data. It sounds great... :)

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!