slippy map alpha

This commit is contained in:
Steve Coast 2006-08-26 16:55:17 +00:00
parent 613e88c4a8
commit a42dc9f482
5 changed files with 28 additions and 8 deletions

View file

@ -1,2 +1,5 @@
class SiteController < ApplicationController class SiteController < ApplicationController
def index
end
end end

View file

@ -19,8 +19,6 @@
</div> </div>
<span id="greeting"> <span id="greeting">
<%= link_to 'Login', {:controller => 'user', :action => 'login'}, {:id => 'loginanchor'}%> / <%= link_to 'Login', {:controller => 'user', :action => 'login'}, {:id => 'loginanchor'}%> /
<%= link_to 'Sign up', {:controller => 'user', :action => 'new'}, {:id => 'registeranchor'} %> <%= link_to 'Sign up', {:controller => 'user', :action => 'new'}, {:id => 'registeranchor'} %>
@ -34,8 +32,6 @@
</ul> </ul>
</div> </div>
<div id="left"> <div id="left">
<div id="logo"> <div id="logo">
@ -89,7 +85,5 @@
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -0,0 +1,23 @@
<div id="geocoder">
<form action="/search.html">
<input type="text" name="query" value="" size="60">
<input type="submit" value="Search">
</form>
</div>
<div id="drag" style="WIDTH: 700px; HEIGHT: 500px;">
<div id='controls'>
<a id="zoomout" class="mapcontrol"><img src="/images/map_zoomout.png" alt="zoom out"></a>
<a id="zoomin" class="mapcontrol"> <img src="/images/map_zoomin.png" alt="zoom in"> </a>
</div>
</div>
<div id="debuginfo"></div>
<script type="text/javascript">
lat = 0;
lon = 0;
zoom = 0;
init();
</script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB