<tr>
<td colspan="2" align="center">
Licensed under the Creative Commons Attribution-Share Alike 2.0 license
-by the OpenStreetMap project and it's contributors.
+by the OpenStreetMap project and its contributors.
</td>
</table>
</div>
function setPosition(lat, lon, zoom) {
var centre = new OpenLayers.LonLat(lon, lat);
- map.setCenter(centre, zoom);
+ setMapCenter(centre, zoom);
if (marker)
removeMarkerFromMap(marker);
window.onload = handleResize;
window.onresize = handleResize;
+
+ <% if params['action'] == 'export' %>
+ <%= remote_function :url => { :controller => 'export', :action => 'start' } %>
+ <% end %>
// -->
</script>