text/html googlehtml.html — 1.7 KB

File contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xmlns:v="urn:schemas-microsoft-com:vml">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>User Group KMZ Test</title>
<!-- Put in your key here-->	
<script src=";v=2&amp;key=ABQIAAAAbLBEnjiTXZ3FUVmokSKdbBQhpfTiiCcriy6U6xTolVuZo4kfeRR4VeC-gPsW4DmMHmodJBjqbl3mLA" type="text/javascript"></script>
  <body onunload="GUnload()">

	<!-- The container for the map, including how big to make the map-->	
    <div id="map" style="width: 670px; height: 450px"></div>
    <noscript><b>JavaScript must be enabled in order for you to use Google Maps.</b> 
      However, it seems JavaScript is either disabled or not supported by your browser. 
      To view Google Maps, enable JavaScript by changing your browser options, and then 
      try again.
    <script type="text/javascript">
    if (GBrowserIsCompatible()) { 

      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
      map.setCenter(new GLatLng(35.097, -106.6), 11);

      // ==== Create a KML Overlay ====
      var mapoverlay = new GGeoXml("");

    // display a warning if the browser was not compatible
    else {
      alert("Sorry, the Google Maps API is not compatible with this browser");