John Firebaugh
|
ef73cc1f57
|
Layers work
|
2013-07-18 10:45:13 -07:00 |
|
John Firebaugh
|
75a776a574
|
Refactor layer persistence
|
2013-07-18 10:40:24 -07:00 |
|
John Firebaugh
|
33aa0a6e45
|
Rename to L.OSM.Layers and continue implementation
|
2013-07-18 10:37:45 -07:00 |
|
Saman Bemel-Benrud
|
b9a19ab23a
|
starting to cleanup+style map controls.
|
2013-07-18 10:36:08 -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
|
2a9286a16a
|
Prevent click propagation on ui panes
|
2013-07-18 10:31:20 -07:00 |
|
John Firebaugh
|
15d148dbd4
|
Add back basic zoom control
|
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 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 |
|
Leo Koppelkamm
|
890153b2a6
|
Replace note markers with ones styled like the other markers
|
2013-06-02 18:44:09 +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
|
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 Hughes
|
979822f697
|
Add a "Hide" button to notes when viewed by moderators
|
2013-04-08 22:32:20 +01:00 |
|
Tom Hughes
|
0a4b860480
|
Focus on the text field when a note is opened
|
2013-03-28 15:12:53 +00:00 |
|
Tom Hughes
|
d00994d151
|
Fix display of updates on newly loaded notes
|
2013-03-28 14:43:07 +00:00 |
|
Tom Hughes
|
898cc828dd
|
Merge branch 'master' into notes
Conflicts:
Gemfile.lock
|
2013-03-28 00:36:07 +00:00 |
|
Tom Hughes
|
38255f9f8d
|
Use OAuth for notes API calls and require authentication to close
|
2013-03-28 00:34:23 +00:00 |
|
Tom Hughes
|
456d41e189
|
Remove use of jQuery toggle() function
|
2013-02-12 10:31:38 +00:00 |
|
Tom Hughes
|
34f823a30e
|
Clear the note cache when the note layer is turned off
|
2013-02-12 10:01:25 +00:00 |
|
Tom Hughes
|
a5ca0f48c1
|
Stop newly added notes disappearing
|
2013-02-05 19:03:13 +00:00 |
|
Tom Hughes
|
9f025130fd
|
Change "Close" button to "Resolve" in notes popup
|
2013-02-05 18:56:59 +00:00 |
|
Tom Hughes
|
d92ca41cae
|
Avoid javascript warning
|
2013-02-05 17:32:44 +00:00 |
|
Tom Hughes
|
51dcf86f40
|
Remove the "new note" marker when the user clicks somewhere else
|
2013-02-05 00:30:58 +00:00 |
|
Tom Hughes
|
b97fe91bba
|
Disable "Add Note" button when there is no text
|
2013-02-03 18:03:25 +00:00 |
|
Tom Hughes
|
97b21e5fb1
|
Enable the "add note" link after a new note is created
|
2013-02-03 17:58:37 +00:00 |
|
Tom Hughes
|
4b324f5896
|
Allow a note=N parameter in the URL to zoom to and open a note
|
2013-02-03 16:47:30 +00:00 |
|
Tom Hughes
|
2da3b85a7a
|
Disable the "add note" link while a note is being added
|
2013-02-03 16:18:06 +00:00 |
|
Tom Hughes
|
40b3c828e7
|
Avoid making the map scroll when adding a new note
|
2013-02-03 16:07:47 +00:00 |
|
Tom Hughes
|
ae48206d2c
|
Move the note popups up slightly
The default position makes it hard to grab the marker and move it
when adding a note, so move themm up a few pixels.
|
2013-02-03 13:04:14 +00:00 |
|
Tom Hughes
|
0b993e5ce0
|
Tweak sizing of note popups
|
2013-02-02 12:21:53 +00:00 |
|
Tom Hughes
|
ee530d8111
|
Don't try and add a note when the control is disabled
|
2012-12-04 14:31:08 +00:00 |
|
Tom Hughes
|
7ec003dd01
|
Abort any existing load before starting a new one
|
2012-12-02 15:04:19 +00:00 |
|
Tom Hughes
|
7f89545b2c
|
Police the MAX_NOTE_REQUEST_AREA limit on the client
|
2012-12-02 14:55:56 +00:00 |
|
Tom Hughes
|
146e9877e5
|
Make sure popups don't overlay controls or the top bar
|
2012-12-02 14:14:17 +00:00 |
|
Tom Hughes
|
98475075c7
|
Add a scrollbar when a note gets too big
|
2012-12-02 14:14:16 +00:00 |
|
Tom Hughes
|
de78176e04
|
Rework notes UI using leaflet
|
2012-12-02 14:13:54 +00:00 |
|
Tom Hughes
|
78f608b114
|
Merge branch 'master' into notes
Conflicts:
app/assets/javascripts/browse.js
app/assets/javascripts/map.js.erb
app/assets/stylesheets/common.css.scss
app/views/site/index.html.erb
|
2012-12-01 18:22:30 +00:00 |
|
John Firebaugh
|
394dcd7316
|
Avoid multiple click bindings on data layer
|
2012-11-29 18:31:17 +00:00 |
|
John Firebaugh
|
05eba79008
|
Move "Browse Map Data" to layers control
Fixes https://trac.openstreetmap.org/ticket/4680
|
2012-11-29 18:23:41 +00:00 |
|
Tom Hughes
|
7ac7db35b8
|
Remove hard coded assumption that layer zero is mapnik
|
2012-11-22 12:35:49 +00:00 |
|
John Firebaugh
|
5b42c683f5
|
Don't zoom map when enabling location filter
|
2012-11-09 13:13:44 -08:00 |
|
John Firebaugh
|
378d08f2c9
|
Update leaflet.locationfilter
|
2012-11-09 12:59:29 -08:00 |
|
John Firebaugh
|
f8b0b861d4
|
Restore maxFeatures check
|
2012-11-09 12:59:28 -08:00 |
|
John Firebaugh
|
fe6e837cfe
|
Replace leaflet.draw with leaflet-locationfilter
|
2012-11-09 12:59:28 -08:00 |
|