move zoom in one level by default
This commit is contained in:
parent
b13eb8824e
commit
48a3ee4d24
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
<% if params['lon'] and params['lat'] %>
|
||||
<% lon = params['lon'] %>
|
||||
<% lat = params['lat'] %>
|
||||
<% zoom = params['zoom'] || '4' %>
|
||||
<% zoom = params['zoom'] || '5' %>
|
||||
<% elsif params['mlon'] and params['mlat'] %>
|
||||
<% lon = params['mlon'] %>
|
||||
<% lat = params['mlat'] %>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<% else %>
|
||||
<% lon = '-0.1' %>
|
||||
<% lat = '51.5' %>
|
||||
<% zoom = params['zoom'] || '4' %>
|
||||
<% zoom = params['zoom'] || '5' %>
|
||||
<% end %>
|
||||
|
||||
<script type="text/javascript" src="/openlayers/OpenLayers.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue