|
|
Line 1: |
Line 1: |
− | <!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" xmlns:v="urn:schemas-microsoft-com:vml">
| |
− | <head>
| |
− | <meta http-equiv="Content-Language" content="zh-cn" />
| |
− | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
| |
− | <title>Create Google Maps - MapLib Integrator (Demos)</title>
| |
− | <script src="js/prototype.js" type="text/javascript"></script>
| |
− | <script src="js/xparse.js" type="text/javascript"></script>
| |
− | <script src="http://maps.google.com/maps?file=api&key=ABQIAAAAsfIP7EUIQZRuq933KgL2LxT-y5hUMaMiMelZ8o5r68SmKcmq6hQMAVQdjzLJZPVU2bG8luMKrmExKg" type="text/javascript"></script>
| |
− | <!--[if lt IE 7.]>
| |
− | <script defer="" type="text/javascript" src="js/pngfix.js"></script>
| |
− | <![endif]-->
| |
− | <script type="text/javascript" src="js/window.js"></script>
| |
− | <script src="js/maplib.api.js" type="text/javascript"></script>
| |
− | <link href="themes/alphacube.css" rel="stylesheet" type="text/css" />
| |
− | <link href="themes/default.css" rel="stylesheet" type="text/css" />
| |
− | <style>
| |
− | body,td,th {
| |
− | font: 12px Arial, Helvetica, sans-serif;
| |
− | line-height: 150%;
| |
− | }
| |
− | </style>
| |
− | <script type="text/javascript">
| |
− | function initialize() {
| |
− | if (GBrowserIsCompatible()) {
| |
− | var map = new GMap2(document.getElementById("map_canvas"));
| |
− | map.setCenter(new GLatLng(37.4419, -122.1419), 4);
| |
− | map.addControl(new GMapTypeControl());
| |
− | map.addControl(new GLargeMapControl());
| |
− |
| |
− | GEvent.addListener(map, "moveend", function() {
| |
− |
| |
− | document.getElementById("longitude").value=map.getCenter().lng();
| |
− | document.getElementById("latitude").value=map.getCenter().lat();
| |
− | document.getElementById("level").value=map.getZoom();
| |
| | | |
− | });
| |
− | }
| |
− | }
| |
− | </script>
| |
− | </head>
| |
− | <body topmargin="0" bgcolor="#EAEAD3" onload="initialize()" onunload="GUnload()">
| |
− | <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0">
| |
− | <tbody>
| |
− | <tr>
| |
− | <td height="45">
| |
− | <a href="index.php"><img border="0" src="images/integrator.png" width="170" height="60" /></a>
| |
− | </td>
| |
− | <td height="45" style="width: 50%" valign="top" align="right">
| |
− | <form method="get" action="index.php">
| |
− | <input name="kw" type="text" /><input name="Submit1" type="submit" value="Search" /></form>
| |
− | </td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td bgcolor="#9BBB38" height="20" align="right" colspan="2">
| |
− | <a href="index.php">Home</a>
| |
− | <span style="visibility:visible">
| |
− | <a href="gmap.php">Create Google Maps</a>
| |
− | <a href="#1" onclick="pop_dialog('frm_upload.php?',400,450)">Upload a photo</a></span>
| |
− | <a href="tags.php">Tags </a>
| |
− | </td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td valign="top" bgcolor="#FFFFFF" width="80%" style="width: 100%; height: 416px" colspan="2">
| |
− | <table style="width: 100%">
| |
− | <tr>
| |
− | <td style="width:70%"><div id="map_canvas" style="width: 100%; height: 400px"></div></td>
| |
− | <td valign="top">
| |
− | <p>Zoom or move the map to where it would be, then fill the
| |
− | following form and submit</p>
| |
− | <form method="post" action="gmap.php">
| |
− | <input type="hidden" id="action" name="action" value="googlemaps" />
| |
− | <input type="hidden" id="longitude" name="longitude" value="-122.1419" />
| |
− | <input type="hidden" id="latitude" name="latitude" value="37.4419" />
| |
− | <input type="hidden" id="level" name="level" value="4" />
| |
− | <table style="width: 100%">
| |
− | <tr>
| |
− | <td>Map Type</td>
| |
− | <td>
| |
− | <select name="maptype">
| |
− | <option value="1">satellite</option>
| |
− | <option value="2">map</option>
| |
− | <option value="3">hybrid</option>
| |
− | <option value="4">physical</option>
| |
− | </select></td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td style="width: 79px">Title</td>
| |
− | <td>
| |
− | <input name="title" type="text" /></td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td style="width: 79px">Tags</td>
| |
− | <td>
| |
− | <input name="tags" type="text" /></td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td style="width: 79px">Created by</td>
| |
− | <td>
| |
− | <input name="createdby" type="text" /></td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td style="width: 79px; height: 57px">Introduction</td>
| |
− | <td style="height: 57px">
| |
− | <textarea name="introduction" style="width: 190px; height: 78px"></textarea></td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td style="width: 79px"> </td>
| |
− | <td>
| |
− | <input name="Button1" type="submit" value="Submit" /></td>
| |
− | </tr>
| |
− | </table>
| |
− | </form>
| |
− | </td>
| |
− | </tr>
| |
− | </table>
| |
− | </td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td bgcolor="#9BBB38" height="20" align="right" colspan="2"> </td>
| |
− | </tr>
| |
− | </tbody>
| |
− | </table>
| |
− | <p align="center">Powered by <a href="http://www.maplib.net/">MapLib</a></p>
| |
− | </body>
| |
− | </html>
| |