On Mar 31, 11:08 am, Ghost <[email protected]> wrote:
>
> I have made  a test page, until I could take good control of google
> maps, its :www.globusproperty.com/maps.php

You have loaded the API twice, once with the JSAPI method and once as
an "ordinary" script tag. You only need to do it once: currently the
second one is incorrect because you have line-breaks in it. That's
causing the "Wrong key" error.

The first one would work BUT this doesn't work:
  google.setOnLoadCallback(GMap2);
because you haven't got a function called GMap2. You need to call
initialize there, not GMap2.

Note that you still need to pass the sensor parameter when you use the
JSAPI loader:
  google.load("maps", "2", {"other_params" : "sensor=false"});

The JSAPI loader is explained here: 
http://code.google.com/apis/ajax/documentation/

Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to