[OSM-talk] Move the Map

Shaun McDonald shaun at shaunmcdonald.me.uk
Wed Jun 17 19:07:09 BST 2009


On 17 Jun 2009, at 18:17, Joe Richards wrote:

>> One of the main annoyances that people tell me that they have with  
>> OSM
>> is that whenever they visit the site, the map shows them just the UK.
> I checked it (from other random computers, not my laptop) when I was  
> in Thailand and Australia and it always showed the UK.  Is the UK  
> the default if IP resolution fails?
>

It will default to the following if nothing else works (from url,  
cookie, user home location, session cookie, and GeoIP)
http://www.openstreetmap.org/?lat=51.1&lon=-0.1&zoom=5

The code of the algorithm is at
http://trac.openstreetmap.org/browser/sites/rails_port/app/views/site/index.html.erb#L55

Shaun

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090617/7fdee18b/attachment.html>


More information about the talk mailing list