Commit Graph

8 Commits

Author SHA1 Message Date
Bryan Housel
a7fca1be23 Set iD.detect().locale to requested locale (closes #2672)
When locale is passed in, we should use that locale in
the parts of the code that are using iD.detect().locale:

* tag reference
* localized name display
* map scale
* info box

The one exception is when iD detects 'en-US' and openstreetmap
website tries to pass 'en', leave it as 'en-US'
2015-06-02 12:34:45 -04:00
Bryan Housel
bcbb68ddb7 case insensitive locale check 2014-07-16 10:27:42 -04:00
Bryan Housel
e579dab87f cleanup footer styles, append account links to footer link menu 2014-06-25 15:08:48 -04:00
Bryan Housel
2723c65506 refactor dLat/dLon <-> meters calcs and use slightly better WGS84 constants 2014-06-23 16:23:04 -04:00
Bryan Housel
71d44d561e remove unnecessary semicolons (jshint) 2014-06-20 18:04:49 -04:00
Bryan Housel
d342e01326 Map scale adjusts and displays user-friendly units. 2014-06-20 17:54:42 -04:00
Bryan Housel
114cb33e05 Added scale, hardcoded at 180px, displays meters 2014-06-19 17:11:30 -04:00
Bryan Housel
c5ada5052a Add stubs for map scale.. 2014-06-18 11:36:16 -04:00