API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
[rails.git] / app / views / site / edit.rhtml
1 <div id="mapImage">
2
3   <div style="position: absolute; left: 0px; top: 0px; height: 500px; width: 700px; padding: 1em;">
4
5     <applet
6     code="org/openstreetmap/processing/OsmApplet.class"
7     archive="OSMApplet.jar, commons-codec-1.3.jar, core.jar, commons-logging.jar, commons-httpclient-3.0-rc3.jar, MinML2.jar, thinlet.jar"
8     width="700"
9     height="500"
10     MAYSCRIPT="true" >
11     <param name="clat" value="<%= params['lat'] %>">
12     <param name="clon" value="<%= params['lon'] %>">
13     <param name="zoom" value="<%= params['zoom'] %>">
14     <param name="user" value="token">
15     <param name="pass" value="<%= @user.token %>">
16     <param name="wmsurl" value="http://www.openstreetmap.org/tile/0.2/gpx?;http://www.openstreetmap.org/api/wms/0.2/landsat/?request=GetMap&layers=modis,global_mosaic&styles=&srs=EPSG:4326&FORMAT=image/jpeg">
17     <param name="apiurl" value="<%= SERVER_URL %>/api/<%= API_VERSION %>/">
18     Your browser needs to support Java to edit maps.<br>
19     <a href="http://java.com/en/download/index.jsp">Download Java here</a>
20     </applet>
21     <br /><a href="http://www.openstreetmap.org/wiki/index.php/Editing" target="_blank">Need help editing?</a>
22
23   </div>
24
25 </div>
26