Andrew also said "The standard script tag doesn't work, because of 'document.write'. You need the asynchronous loader."
Follow his link again and scroll down just a bit to "Asynchronously Loading the API". -Mike On Sun, Jan 22, 2012 at 6:20 PM, Frank Natoli <[email protected]>wrote: > Andrew provided a link to *http://code.google.com/apis/ > maps/documentation/javascript/tutorial.html#Loading_the_Maps_API*<http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Loading_the_Maps_API> > The > code at that link is exactly the code I am now using, with the API key. If > you see something different in the code I posted from the link above, could > you please point it out? > > The code I am writing is intended for an Apple iPad app, not a server. > Google provides an entire page dedicated to iPhone/iPad apps at > http://code.google.com/apis/maps/articles/tutorial-iphone.html so I think > it unlikely that my use is a violation of Google's own sample code and > sample iPhone application. > > Let me point out again that this code, even without the API key, works > just fine under straight HTM but fails under XHTML. > > Thanks for your help. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-maps-js-api-v3/-/-wL5upvJL24J. > > 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-js-api-v3?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
