ok...I have another problem: The page loads fine when i'm using windows xp but and vista users report the same problem of requesting a different API key Here is the link again: http://www.stmaryleboneschool.com/contact2.html
Thanks On Jan 11, 2:32 pm, data department <[email protected]> wrote: > Thanks a lot Andrew! worked brilliantly > > Jason > > On Jan 8, 11:10 am, Andrew Leach <[email protected]> > wrote: > > > > > On Jan 8, 10:48 am, data department <[email protected]> > > wrote: > > > > I keep getting the error ' thewebsiteneedsadifferentAPIKey'. I > > > generated akeykeyand all the code seems to check out. It works fine > > > locally. > > > It works locally because thekeyisn't checked locally. > > > You have spaces in the url of theAPIscript. This means that you > > aren't sending a "key" parameter: you're sending a "%20key" parameter. > > And your "sensor" parameter doesn't have an & before it, which > > means that you have appended "%20sensor=false" to the end of yourkey, > > which will render it invalid. > > > So: no spaces, and each parameter except the one immediately after > > ?needs& immediately before it to separate it from the previous > > one. > > > 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.
