On Oct 20, 4:35 pm, JR Ryan <[email protected]> wrote: > Yeah sorry, see post above. > > The sensor is set to false and the key is correct as it works with one > or the other, but not both for some reason?!
A key for http://claverhamtrust.squarespace.org.uk will not work for http://claverhamtrust.squarespace.com They are different domains. You need to get 2 different keys and use a key switching algorithm. -- Larry > > On Oct 21, 12:02 am, Andrew Leach <[email protected]> > wrote: > > > > > On Oct 20, 11:51 pm, JR Ryan <[email protected]> wrote: > > > > "The Google Maps API server rejected your request. This could be > > > because the API key used on this site was registered for a different > > > web site. You can generate a new key for this web site > > > athttp://code.google.com/apis/maps/." > > > > Now I know my key is valid, as it works while creating either the > > > directions map or the local search map, but not both together. To see > > > my code and the error message, go > > > tohttp://claverhamtrust.squarespace.org.uk > > > Can't find that subdomain. In fact I can't find squarespace.org.uk at > > all. > > > However, you should also be including a sensor=true or sensor=false > > parameter in the <script> tag which loads the API, not > > sensor=true_or_false; as well as a correct key as shown in the > > documentation. Does that help? > > > Andrew- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
