As far as I can tell, main.js doesn't call anything else.  Has lots of
function definitions.
The map that appears seems to be a default that appears prior to the
call in my script.  But why?

I hadn't looks at "maps" before.  It defines the functions for various
things, including checking the key.
It had the key in 2 places from the demo before.  Replaced there and
it fixed it.  Don't understand why they would hardwire the key in
there as well as in the main file and in the key.js file.  Seems a bit
redundant.

So typically those files, main.js and maps are called from somewhere
else?  Then I presume they usually wouldn't have the key hardwired
inside there.

Is there a centralized place where those would normally be accessed?

Thanks for the help.  Now I'll try to figure out why my functionality
is gone.

Regards,

Tony



On Aug 29, 2:58 pm, Rossko <[EMAIL PROTECTED]> wrote:
> > I get the "wrong key" message, while using same key as page that works
> > fine, same domain.
>
> There's a clue in that a map does still appear ....
> so you must be calling g-maps twice.
>
> Do you know what files are being called here?
>     <script src="protractor_files/maps"></script>
>     <script src="protractor_files/main.js" type="text/javascript"></
> script>
> You really don't want those locally hosted.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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