sg

Pazar, Aralık 25, 2005

Re: IE 7


Wasn't it rhutchison@gmail.com who wrote:
>
>Does anybody know why Google maps in IE7 throws an invalid key error
>and other JS errors. Has anyone got it working in IE7? Only site I
>have seen it work on is maps.google.com.

I'm not going to put a copy of IE7b on my machine in case it proves
difficult to remove. I got someone on this group who has IE7b to check
the window.location information that gets used in the key check, and
that was correct. The key checking involves taking the various parts of
window.location and performing a series of fairly conventional Math
operations on it, then comparing the result with the value calculated by
the Google server. If there was something wrong with what IE was
returning in window.location, then it would have been possible to fix
the situation by registering an API key for whatever IE7b gives as
window.location. Since the window.location is correct, IE7b must be
getting the maths wrong, and it's unlikely that there'd be a workround
for that.

If you really care about which mathematical operation IE7b gets wrong, I
could set up a testbed script that you could run. I can't see the point.

The reason that maps.google.com works is that there's a chunk of code
that allows google sites to use the API even if the key fails, so that
hostnames like google.com.mx and google.co.za can share the same code.

--
The Blackpool Community Church Google Map API Tutorial
http://www.econym.demon.co.uk/googlemaps/

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık