Commit graph

5644 commits

Author SHA1 Message Date
John Firebaugh
74293c8946 Fix locate button style 2013-07-18 10:45:14 -07:00
John Firebaugh
8d671c5323 Fix attribution width 2013-07-18 10:45:14 -07:00
John Firebaugh
c8f8dbca19 Port map key to new UI 2013-07-18 10:45:14 -07:00
John Firebaugh
eebe1f1d3e Consistent JavaScript style 2013-07-18 10:45:14 -07:00
John Firebaugh
f1a4669c95 Arrange and group map buttons 2013-07-18 10:45:14 -07:00
John Firebaugh
50e52b888a Keep zoom buttons together 2013-07-18 10:45:14 -07:00
John Firebaugh
5e9ab5bc5e Layers work 2013-07-18 10:45:14 -07:00
John Firebaugh
9d33721630 Complete de-globalization of map 2013-07-18 10:45:13 -07:00
John Firebaugh
ef73cc1f57 Layers work 2013-07-18 10:45:13 -07:00
Tom MacWright
d0ed118ee2 Refactor out 'globals' from more functions 2013-07-18 10:45:13 -07:00
Tom MacWright
33897d30b3 Scope map variable. 2013-07-18 10:40:24 -07:00
John Firebaugh
10c9ca81c7 Work on layers UI 2013-07-18 10:40:24 -07:00
John Firebaugh
75a776a574 Refactor layer persistence 2013-07-18 10:40:24 -07:00
Tom MacWright
6619b777e3 Customize and style map zoom controls 2013-07-18 10:40:24 -07:00
Tom MacWright
64f5b3f511 Refactoring 4 life 2013-07-18 10:40:24 -07:00
Tom MacWright
3a6c476833 Refactor forever 2013-07-18 10:37:45 -07:00
Tom MacWright
5fc7a47f6d Use querystring, stop manually building urls 2013-07-18 10:37:45 -07:00
John Firebaugh
33aa0a6e45 Rename to L.OSM.Layers and continue implementation 2013-07-18 10:37:45 -07:00
Tom MacWright
7bcea3839d Even more map ui js refactor 2013-07-18 10:37:44 -07:00
Tom MacWright
7c06f2b47e More refactoring of map js 2013-07-18 10:37:16 -07:00
Saman Bemel-Benrud
b9a19ab23a starting to cleanup+style map controls. 2013-07-18 10:36:08 -07:00
John Firebaugh
d1ee7de08b Restore attribution on main map 2013-07-18 10:36:08 -07:00
Tom MacWright
483854f411 Start to refactor updatelinks 2013-07-18 10:36:08 -07:00
Tom MacWright
8c788ce387 Add attrib 2013-07-18 10:34:18 -07:00
Tom MacWright
c4f9654891 Refactor mapLayers to create layers up front 2013-07-18 10:34:18 -07:00
John Firebaugh
4563244fd1 Clean up some of the map JS, reduce scope of globals 2013-07-18 10:34:17 -07:00
Tom MacWright
ff52509d5a Actually toggle note layer on click. 2013-07-18 10:31:20 -07:00
Tom MacWright
22d6633114 Start refactoring notes layer 2013-07-18 10:31:20 -07:00
Tom MacWright
7d84b81fd9 Remove unnecessary abstraction around rectangles 2013-07-18 10:31:20 -07:00
Tom MacWright
2a9286a16a Prevent click propagation on ui panes 2013-07-18 10:31:20 -07:00
Tom MacWright
c75d725893 generate short link kind of 2013-07-18 10:31:20 -07:00
John Firebaugh
1feda20644 Start layers pane 2013-07-18 10:31:20 -07:00
Tom MacWright
36fac06bd5 Add share button to map 2013-07-18 10:31:20 -07:00
Saman Bemel-Benrud
7f749e9b18 adding icons to sprite. 2013-07-18 10:31:20 -07:00
Tom MacWright
9bf18a360e Add locate widget to map 2013-07-18 10:31:19 -07:00
John Firebaugh
a0a18f428f Remove permalink/add note links 2013-07-18 10:31:19 -07:00
John Firebaugh
15d148dbd4 Add back basic zoom control 2013-07-18 10:31:19 -07:00
John Firebaugh
ccbf99cf17 Remove unused styles 2013-07-18 10:31:19 -07:00
Tom MacWright
73bbee5df9 Add leaflet-locate control, invisible currently. 2013-07-18 10:31:19 -07:00
John Firebaugh
ef37ad8aaa Basic framework for map UI 2013-07-18 10:31:19 -07:00
Tom MacWright
5aea67a71f Remove pan and zoom controls 2013-07-18 10:31:19 -07:00
Tom Hughes
31b7bedfda Improve styling of rails validation errors 2013-07-18 15:54:16 +01:00
Tom Hughes
fe2f03da14 Give up on automatic resizing of text areas 2013-07-18 15:31:51 +01:00
Tom Hughes
2119911aa5 Tone down the highlighting of Nominatim search results 2013-07-18 15:29:01 +01:00
Tom Hughes
e4ed5ae275 Update Leaflet to 0.6.3 2013-07-17 19:18:36 +01:00
Harry Wood
9331ea5d71 Remove references to opengeodata.org 2013-07-15 20:58:28 +01:00
Siebrand Mazeland
dd0b9b28a7 Localisation updates from http://translatewiki.net. 2013-07-14 21:28:13 +00:00
Tom Hughes
4a2ecfe8b3 Use the standard ruby instance_methods call
Rails 3 has an instance_methods_name extension that returns strings
instead of symbols, but that goes away in Rails 4 so just use the
standard routine instead.
2013-07-09 18:26:54 +01:00
Tom Hughes
1234561a78 The ActiveRecord exists? method may not return an explicit true/false
https://github.com/rails/rails/issues/10062
2013-07-09 18:26:54 +01:00
Tom Hughes
e8f1953d7d Rename test to avoid class name conflict with unit test 2013-07-09 18:26:54 +01:00