Team Atmosphere

From Step 2007 Wiki

(Difference between revisions)
Line 1: Line 1:
Here is an example of a Map:
Here is an example of a Map:
 +
<html xmlns="http://www.w3.org/1999/xhtml">
 +
  <title>STEP 2007 Map</title>
 +
  <head>
-
<googlemap lat="64.84" lon="-147.78" zoom="17"></googlemap>
+
    <script src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAqFQAnznROFDNcSHZYLvbQBRXVOiDp7YC66ybiYiko0Pp-Qks1RQoFNJHA-FsGSSlkeIm1Qc0dzLLVQ" type="text/javascript"></script>
 +
  </head>
 +
  <body>
 +
    <div id="map" style="width: 800px; height: 600px"></div>
 +
    <script type="text/javascript">
 +
    //<![CDATA[
 +
   
 +
    var map = new GMap(document.getElementById("map"));
 +
    map.addControl(new GMapTypeControl());
 +
    map.addControl(new GSmallMapControl());   
 +
    map.centerAndZoom(new GPoint(-147.85, 64.85951), 10);
 +
   
 +
    //]]> 
 +
    </script>
 +
  </body>
 +
</html>

Revision as of 21:27, 2 July 2007

Here is an example of a Map: <html xmlns="http://www.w3.org/1999/xhtml">

 <title>STEP 2007 Map</title>
 <head>
   <script src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAqFQAnznROFDNcSHZYLvbQBRXVOiDp7YC66ybiYiko0Pp-Qks1RQoFNJHA-FsGSSlkeIm1Qc0dzLLVQ" type="text/javascript"></script>
 </head>
 <body>
   <script type="text/javascript">
   //<![CDATA[
   
   var map = new GMap(document.getElementById("map"));
   map.addControl(new GMapTypeControl());
   map.addControl(new GSmallMapControl());    
   map.centerAndZoom(new GPoint(-147.85, 64.85951), 10);
   
   //]]>   
   </script>
 </body>

</html>

Personal tools