Ahhh, not sure how I missed that. Thank you very much for your help. Also, thank you for the javascript info!
On Mar 14, 4:33 pm, Andrew Leach <[email protected]> wrote: > On Mar 14, 6:59 pm, cjackson111 <[email protected]> wrote: > > > I am trying to create a different webpage and use another instance of > > Google maps on it. I have copied the API key to the new page along > > with the basic code for the map to display. The map however does not > > display. I am not sure what I have missed. Is it necessary to request > > another API key if using Google maps in more than one location in a > > website? I didn't think so but want to be sure. Any ideas what I may > > have missed? > > You have omitted to call your load() function, perhaps with an onload > attribute in the <body> tag. > > Note that although your page as coded will work, it's very very bad > practice to put Javascript in a table like that. Far better to extract > all that Javascript and put the <script>...</script> block in the > <head> of the page. The reason for that is that using Javascript to > alter a table while that table is being built can cause IE to stop. > [Your block won't do that, because it uses a function, but it's a good > idea to use best practice from the get-go] -- 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.
