On Jan 14, 3:11 pm, mikescott757 <[email protected]> wrote: > > Link: http://www.lakecountyil.gov/Transportation/roadworktest.htm
Your HTML is invalid. You can't have <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> in the middle of a page. And this is wrong: <script type="text/javascript" <script src="http://maps.google.com/maps?file...SCHQ&sensor=false"</ script> (I've shortened that) because <script is not a valid attribute and you are missing a > character just before </script>. So the API is not being loaded and the page fails at the first mention of GMap2. This is likely to cause problems: window.onload = load; because it overrides the existing <body onload> settings. Your key should be for http://www.lakecountyil.gov/ -- don't include the Transportation part because your server is not case-sensitive to URLs, and keys are. But because of the missing > I don't get as far as loading the API, let alone failing the key check. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
