From Step 2007 Wiki
(Difference between revisions)
|
|
(4 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | 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>
| |
- | <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>
| |
Current revision as of 01:08, 4 July 2007