Commit graph

1012 commits

Author SHA1 Message Date
Aaron Lidman
439ad373ec Disable overlay layers at minZoom and add tooltips 2013-11-13 17:30:15 -08:00
John Firebaugh
f24309ad3e Don't set state if it doesn't exist 2013-11-13 16:01:54 -08:00
John Firebaugh
7b10012f90 Fix history sidebar 2013-11-13 15:45:07 -08:00
John Firebaugh
c878b5b8d4 Fix note commenting 2013-11-13 15:22:36 -08:00
John Firebaugh
4863a94906 Remove "Loading..." from browse for now 2013-11-13 13:50:36 -08:00
Aaron Lidman
e336fc31c7 Change halo color for notes 2013-11-13 13:32:24 -08:00
Aaron Lidman
6ba9f8ba29 Different feature highlight color for browse pages 2013-11-13 13:17:45 -08:00
John Firebaugh
d380ce79aa Remove unused, fix global leak 2013-11-13 13:01:07 -08:00
John Firebaugh
a661ee1693 Don't add note when disabled 2013-11-13 12:40:36 -08:00
John Firebaugh
b8a449b4b1 Show XHR responseText on error 2013-11-13 12:01:21 -08:00
Aaron Lidman
c5be2b6f84 Prevent empty search 2013-11-13 10:45:20 -08:00
Aaron Lidman
6f444fc99e Zoom in to note if zoom < 15 2013-11-13 10:33:16 -08:00
John Firebaugh
853dc286b9 Add sidebar loading indicator 2013-11-12 17:01:47 -08:00
Aaron Lidman
6ecb8dbe8e Fix editing notes outside of view, closes #57 2013-11-12 16:58:03 -08:00
Aaron Lidman
afcaa2cf58 Add halo to currently selected note 2013-11-12 16:50:23 -08:00
John Firebaugh
8fb3d7365f Fix indentation and semicolon usage 2013-11-12 15:30:43 -08:00
Aaron Lidman
1673851b50 Add zoom to note 2013-11-12 15:12:40 -08:00
Aaron Lidman
4bfbdcc2f1 Loading indicator for notes 2013-11-12 11:20:23 -08:00
Aaron Lidman
1b19974b12 Add note creation to the sidebar 2013-11-11 19:06:07 -08:00
Aaron Lidman
85282f5cdd Add note selection to the sidebar 2013-11-11 16:37:23 -08:00
John Firebaugh
1082d3a653 preserve visual center of map on sidebar transitions 2013-11-11 14:42:59 -08:00
John Firebaugh
a805e0b545 Use our own hash implementation
We need more flexibility than L.Hash provides.
2013-11-11 14:42:59 -08:00
John Firebaugh
aa45efc1b7 Refactor to map.updateLayers 2013-11-11 14:42:46 -08:00
John Firebaugh
14136b27c2 Merge map.js.erb and leaflet.extend.js.erb 2013-11-11 14:42:46 -08:00
Aaron Lidman
e4504399ae Add notes sidebar interaction 2013-11-11 14:29:02 -08:00
John Firebaugh
59f1a6d496 Fix search 2013-11-11 13:39:20 -08:00
John Firebaugh
0d52b82d4e Move search form to header on small screens 2013-11-11 13:38:46 -08:00
John Firebaugh
a5b784bdf7 Replace Vary header with explicit xhr=1 param
IE10 doesn't respect the Vary header.
2013-11-08 17:11:54 -08:00
Aaron Lidman
1ae7872ed8 Update title on pushState, closes #33 2013-11-08 16:10:08 -08:00
John Firebaugh
a2dfc00f27 Include layers in all geolinks except edit 2013-11-08 13:51:44 -08:00
John Firebaugh
8b5e0d0248 Fix order of initialization
initializeNotes needs to be called after L.OSM.note.
2013-11-08 13:42:24 -08:00
John Firebaugh
e68e3e9150 Ignore hashchange-triggered popstate events here too 2013-11-08 13:42:24 -08:00
John Firebaugh
b903d8b746 Fix browse overlay status messages 2013-11-08 10:46:24 -08:00
John Firebaugh
cdfe2ac21e Redo mobile styles 2013-11-07 17:25:03 -08:00
John Firebaugh
040804335d Simplify 2013-11-07 16:37:14 -08:00
Eden Halperin
3f26761a26 Fix mobile menu and reduced sidebar height 2013-11-07 18:15:19 -05:00
Eden Halperin
3689798a04 Return map-ui sidebars in mobile 2013-11-07 16:57:53 -05:00
John Firebaugh
b90d27cdff Tweak attribution 2013-11-07 12:14:10 -08:00
John Firebaugh
12e820c27e Remove ad concept 2013-11-07 10:16:04 -08:00
Aaron Lidman
050f763616 Consistent changeset bbox color, closes #31 2013-11-07 09:48:04 -08:00
Aaron Lidman
6294e9ae59 Hide export button when export area is too large, closes #30 2013-11-07 09:12:14 -08:00
Eden Halperin
9029e47ce9 Minimize intro sidebar on mobile 2013-11-07 10:46:55 -05:00
Aaron Lidman
aca5308bcd Missed the sidebar on browse page 2013-11-06 17:48:51 -08:00
Aaron Lidman
1df32b88e8 Remove references to #view_tab 2013-11-06 17:26:20 -08:00
Aaron Lidman
e7d200c4a6 Sidebar close reverts to 'view' state 2013-11-06 16:59:14 -08:00
Eden Halperin
774aa0c875 RTL fix for leaflet controls, Ad concept 2013-11-06 18:18:35 -05:00
Eden Halperin
726db77827 Fix donate link in attribution 2013-11-06 16:20:26 -05:00
John Firebaugh
9cfb230e02 Fix layers initialization 2013-11-06 13:19:13 -08:00
Eden Halperin
0a040c7a79 Add donation attribution to mapnik layer 2013-11-06 16:14:27 -05:00
Eden Halperin
821f949869 compact menu fix, changeset highlight styles 2013-11-06 15:45:57 -05:00