slippy map alpha
[rails.git] / app / views / site / index.rhtml
1 <div id="geocoder">
2   <form action="/search.html">
3     <input type="text" name="query" value="" size="60">
4     <input type="submit" value="Search">
5   </form>
6 </div>
7
8 <div id="drag" style="WIDTH: 700px; HEIGHT: 500px;">
9   <div id='controls'>
10     <a id="zoomout" class="mapcontrol"><img src="/images/map_zoomout.png" alt="zoom out"></a>
11     <a id="zoomin" class="mapcontrol"> <img src="/images/map_zoomin.png" alt="zoom in">  </a>
12   </div>
13 </div>
14
15 <div id="debuginfo"></div>
16
17 <script type="text/javascript">
18   lat = 0;
19   lon = 0;
20   zoom = 0;
21
22   init();
23 </script>