Commit graph

1012 commits

Author SHA1 Message Date
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
Tom MacWright
9bf18a360e Add locate widget to map 2013-07-18 10:31:19 -07:00
John Firebaugh
15d148dbd4 Add back basic zoom control 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
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
Saman Bemel-Benrud
c70a418dc2 Fix browse features buttons 2013-07-08 09:03:17 +01:00
Saman Bemel-Benrud
2e444eb7bb Fine tune button styling for note popups 2013-07-08 09:03:17 +01:00
Saman Bemel-Benrud
34edfdb9ba Cleanup notes and fix CSS error 2013-07-08 09:03:17 +01:00
Tom Hughes
13fee47ed0 Use new Leaflet setPopupContent method 2013-06-27 22:40:23 +01:00
Tom Hughes
168a9fc327 Replace various Leaflet extensions with new builtin methods 2013-06-27 21:53:26 +01:00
Saman Bemel-Benrud
82f8968169 Keep the map visible as the changeset page is scrolled 2013-06-10 22:34:23 +01:00
Tom Hughes
02d9584fc5 Allow notes to be reopened from the web interface 2013-06-10 19:25:18 +01:00
Leo Koppelkamm
890153b2a6 Replace note markers with ones styled like the other markers 2013-06-02 18:44:09 +01:00
Tom Hughes
d1c9009019 Make translated map layer names work
Delay initialising the layers array until the first map is created
so that we can be sure that I18n.locale has been initialised.
2013-05-25 00:21:19 +01:00
Martin Raifer
74448434c9 Improve display of objects on data browser maps
Previously, tagged nodes of ways were shown on the browse/way and
browse/relation pages.

Now, nodes are not shown on browse/way pages and only nodes which are
direct members of the relation are shown on browse/relation pages.
2013-05-14 21:43:55 +01:00
Tom Hughes
9aa029af7a Clear comment field after a new note is created 2013-05-14 00:14:02 +01:00
Tom Hughes
5e420d9e50 Preserve in progress note comments when the map is moved 2013-05-13 21:14:18 +01:00
Leo Koppelkamm
8255553e97 Don't focus the text area on touch devices to avoid flashing the keyboard
Currently the keyboard slide out & hides again quickly.
2013-05-12 19:26:05 +01:00
Tom Hughes
a7e67846a7 Persist the state of the notes layer 2013-05-08 21:04:41 +01:00
Tom Hughes
e84b2bd22f Replace some inline javascript with a UJS solution 2013-05-06 11:09:17 +01:00
Tom Hughes
a5f3abcbe9 Make "add note" cope with base layer changes 2013-05-01 09:26:05 +01:00
Tom Hughes
d1660a1c4f Disable dragging of new notes once they are submitted 2013-04-29 17:20:21 +01:00
Tom MacWright
6453310d4d Redesign notes permalink
This adds a small permalink icon to the sprite and updates the CSS for
the permalink. The text is hidden by default and shown on hover.
2013-04-28 17:06:48 +01:00
Tom Hughes
77de506312 Update ohauth and switch to using the new headerGenerator method 2013-04-28 10:39:56 +01:00
Tom Hughes
d48b1ccdf2 Replace the title in the note popup with a permalink 2013-04-27 11:51:51 +01:00