I have noticed an increasing number of sites are using Google maps. These fail to load for me in Safari or other Mac browsers - error message says web site needs a different API Key (obviously beyond my control).
Maps via Google Maps own site work fine. Does anyone have the same experience or can someone shed light on this problem? Kit is iMac 20" 2GHz Intel Core Duo running Leopard 10.5.8, if that helps.
Incidentaly, I have used a Google map for a client’s site, FWPro made on this Mac, which displays happily on all PCs - but not on my iMac!
This means that the site owner has not coded their site correctly,
nothing more. The API Key is bound to the domain name that the site
owner registers with Google. For example, if you go to my map locator
demo page: http://walterdavisstudio.com/map.php and view source,
you’ll see that I have my API key in there.
Now visit Joe’s much-improved version of that page: http://users.softpress.com/joe/findlatlng/
and view source, and you’ll see a completely different API key. He
can’t just install the page on his server without changing the API key
to match.
Similarly, if you put a map on your page using the Google Maps Action,
you can’t test it in Preview mode or in Preview in Browser. An API key
is good for one host only, but you can get as many as you want for as
many different servers as you need.
Walter
On Mar 16, 2010, at 7:23 AM, ColinJA wrote:
These fail to load for me in Safari or other Mac browsers - error
message says web site needs a different API Key (obviously beyond my
control).
Thanks for the reply, Walter, but my problem goes a stage further. For
instance, neither your demo page or Joe’s will load - I’m being told
that both web sites need a new Google Maps API Key. Something funny
going on here!
And, as before, on my Mac I can’t view the following page I created,
either:
Yet it’s perfectly OK on the PC sitting alongside it!
Colin
On 16 Mar 2010, at 13:08, Walter Lee Davis wrote:
This means that the site owner has not coded their site correctly,
nothing more. The API Key is bound to the domain name that the site
owner registers with Google. For example, if you go to my map
locator demo page: http://walterdavisstudio.com/map.php and view
source, you’ll see that I have my API key in there.
Now visit Joe’s much-improved version of that page: http://users.softpress.com/joe/findlatlng/
and view source, and you’ll see a completely different API key. He
can’t just install the page on his server without changing the API
key to match.
Similarly, if you put a map on your page using the Google Maps
Action, you can’t test it in Preview mode or in Preview in Browser.
An API key is good for one host only, but you can get as many as you
want for as many different servers as you need.
Walter
On Mar 16, 2010, at 7:23 AM, ColinJA wrote:
These fail to load for me in Safari or other Mac browsers - error
message says web site needs a different API Key (obviously beyond
my control).
Check that your Mac is not blocking JavaScript or something. Look in
the Safari preferences. And check in Firefox or Camino or Opera (any
non-WebKit browser) and see if the problem follows you there. This one
is a local problem, I assure you.
Walter
On Mar 16, 2010, at 9:47 AM, Colin Alcock wrote:
Thanks for the reply, Walter, but my problem goes a stage further.
For instance, neither your demo page or Joe’s will load - I’m being
told that both web sites need a new Google Maps API Key. Something
funny going on here!
And, as before, on my Mac I can’t view the following page I created,
either:
Yet it’s perfectly OK on the PC sitting alongside it!
Colin
On 16 Mar 2010, at 13:08, Walter Lee Davis wrote:
This means that the site owner has not coded their site correctly,
nothing more. The API Key is bound to the domain name that the site
owner registers with Google. For example, if you go to my map
locator demo page: http://walterdavisstudio.com/map.php and view
source, you’ll see that I have my API key in there.
Now visit Joe’s much-improved version of that page: http://users.softpress.com/joe/findlatlng/
and view source, and you’ll see a completely different API key. He
can’t just install the page on his server without changing the API
key to match.
Similarly, if you put a map on your page using the Google Maps
Action, you can’t test it in Preview mode or in Preview in Browser.
An API key is good for one host only, but you can get as many as
you want for as many different servers as you need.
Walter
On Mar 16, 2010, at 7:23 AM, ColinJA wrote:
These fail to load for me in Safari or other Mac browsers - error
message says web site needs a different API Key (obviously beyond
my control).
Thanks for the reply, Walter, but my problem goes a stage further. For instance, neither your demo page or Joe’s will load - I’m being told that both web sites need a new Google Maps API Key. Something funny going on here!
And, as before, on my Mac I can’t view the following page I created, either:
Yet it’s perfectly OK on the PC sitting alongside it!
Colin
On 16 Mar 2010, at 13:08, Walter Lee Davis wrote:
This means that the site owner has not coded their site correctly, nothing more. The API Key is bound to the domain name that the site owner registers with Google. For example, if you go to my map locator demo page: http://walterdavisstudio.com/map.php and view source, you’ll see that I have my API key in there.
Now visit Joe’s much-improved version of that page: http://users.softpress.com/joe/findlatlng/ and view source, and you’ll see a completely different API key. He can’t just install the page on his server without changing the API key to match.
Similarly, if you put a map on your page using the Google Maps Action, you can’t test it in Preview mode or in Preview in Browser. An API key is good for one host only, but you can get as many as you want for as many different servers as you need.
Walter
On Mar 16, 2010, at 7:23 AM, ColinJA wrote:
These fail to load for me in Safari or other Mac browsers - error message says web site needs a different API Key (obviously beyond my control).
Joe - the page you sent runs fine, as does Google Maps. I’ve just done
a deep clean with Cocktail, but still no joy. I suspect I need to dig
deeper and, with my very limited technical expertise, that may take
quite a while. One step at a time.
I’ve also ‘googled’ the problem and one suggestion was the router
firewall might be a cause, but the PC, where everything works fine, is
on the same router. Mystery. Also, it’s only a recent occurrence and
I’ve changed nothing on the router: but I am about to upgrade it to
wireless, (when I’ve a slot without sensitive work in progress) so we
will see how that goes.
Thanks for looking at the problem.
Colin
On 16 Mar 2010, at 16:46, Joe Billings wrote:
Sounds very strange Colin. Have you another user account on your Mac
you can try with? Also, do you get the same message on this page?
Can you check these examples too please Google Maps Platform Documentation | Maps JavaScript API | Google for Developers Im thinking that Google may have released an update that is causing the problem, our maps all use the latest version (as do the versions in the link in the message). The one from my last message uses a specific version.
Joe
On 16 Mar 2010, at 17:20, Colin Alcock wrote:
Joe - the page you sent runs fine, as does Google Maps. I’ve just done a deep clean with Cocktail, but still no joy. I suspect I need to dig deeper and, with my very limited technical expertise, that may take quite a while. One step at a time.
I’ve also ‘googled’ the problem and one suggestion was the router firewall might be a cause, but the PC, where everything works fine, is on the same router. Mystery. Also, it’s only a recent occurrence and I’ve changed nothing on the router: but I am about to upgrade it to wireless, (when I’ve a slot without sensitive work in progress) so we will see how that goes.
Thanks for looking at the problem.
Colin
On 16 Mar 2010, at 16:46, Joe Billings wrote:
Sounds very strange Colin. Have you another user account on your Mac you can try with? Also, do you get the same message on this page?
All these come up with a dialog saying the web sites need a new API
key, but some of them load and work once you click OK.
Don’t send too much time on this - it’s not a Freeway problem and
almost certainly local to my system. Also, I’m so busy over the next
week I don’t want to disturb my system by altering much, but will go
back to it when things quieten down - being “retired” I usually get
some quiet weeks and expect one soon, if current projects finish on
time.
I think I’ve got to bite the bullet and maybe re-install the system
with a composite update, in case it’s one of Apples regular Software
Updates that’s upset things. I know it sometimes happens.
Thanks for showing so much care in my plight - but then you’re known
for that.
Colin
On 16 Mar 2010, at 19:53, Joe Billings wrote:
Hi Colin,
Can you check these examples too please Документация по платформе Google Карт | Maps JavaScript API | Google for Developers
Im thinking that Google may have released an update that is causing
the problem, our maps all use the latest version (as do the versions
in the link in the message). The one from my last message uses a
specific version.
Joe
On 16 Mar 2010, at 17:20, Colin Alcock wrote:
Joe - the page you sent runs fine, as does Google Maps. I’ve just
done a deep clean with Cocktail, but still no joy. I suspect I need
to dig deeper and, with my very limited technical expertise, that
may take quite a while. One step at a time.
I’ve also ‘googled’ the problem and one suggestion was the router
firewall might be a cause, but the PC, where everything works fine,
is on the same router. Mystery. Also, it’s only a recent
occurrence and I’ve changed nothing on the router: but I am about
to upgrade it to wireless, (when I’ve a slot without sensitive work
in progress) so we will see how that goes.
Thanks for looking at the problem.
Colin
On 16 Mar 2010, at 16:46, Joe Billings wrote:
Sounds very strange Colin. Have you another user account on your
Mac you can try with? Also, do you get the same message on this
page?
For anyone who followed this thread - problem solved.
The culprit was an application called Internet Cleanup. Once uninstalled this and some other problems just melted away.
Thanks for letting us know Colin and glad you got it sorted out.
Joe
On 25 Mar 2010, at 19:48, ColinJA wrote:
For anyone who followed this thread - problem solved.
The culprit was an application called Internet Cleanup. Once uninstalled this and some other problems just melted away.