1
0

OSMLatLon.htm 1.0 KB

1234567891011121314151617181920
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <head>
  3. <title>OpenStreetMap</title>
  4. <script type="text/javascript" src="http://www.openlayers.org/api/OpenLayers.js"></script>
  5. <script type="text/javascript" src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>
  6. <script type="text/javascript" src="osm.js"></script>
  7. </head>
  8. <body onload="init();drawmap();" style="padding:0px; margin:0px">
  9. <div id="map"></div>
  10. <div style="position:absolute; bottom:0%; width:100%; background:url('cbi/black_60.png'); font-size:10px; color:#fff;z-index:1000">
  11. Map by <a href="http://www.openstreetmap.org" title="www.openstreetmap.org" style="color:#fff;" >openstreetmap.org</a>, License CC-BY-SA
  12. &#160;&#160;&#160;&#160;
  13. <span id="osm">
  14. Latitude: <input id="osmlat" name="osmlat" type="text" size="20" style="font-size:10px;">
  15. Longitude: <input id="osmlon" name="osmlon" type="text" size="20" style="font-size:10px;">
  16. </span>
  17. </div>
  18. </body>