From: Harry Wood Date: Sat, 2 Apr 2011 17:53:37 +0000 (+0100) Subject: Make home location setting map default to the whole world X-Git-Tag: live~7087^2~77 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/940995c816cb6f18ab76beb5cae5142fb6545b86 Make home location setting map default to the whole world Defaulting to western europe doesn't seem very reasonable these days as we have users all over the world now. --- diff --git a/app/views/user/_map.html.erb b/app/views/user/_map.html.erb index 7c29526cf..55f23cd0d 100644 --- a/app/views/user/_map.html.erb +++ b/app/views/user/_map.html.erb @@ -2,9 +2,9 @@ <% nearest = @user.nearby - friends %> <% if @user.home_lat.nil? or @user.home_lon.nil? %> - <% lon = h(params['lon'] || '-0.1') %> - <% lat = h(params['lat'] || '51.5') %> - <% zoom = h(params['zoom'] || '4') %> + <% lon = h(params['lon'] || '0') %> + <% lat = h(params['lat'] || '20') %> + <% zoom = h(params['zoom'] || '1') %> <% else %> <% marker = true %> <% mlon = @user.home_lon %>