Commit graph

133 commits

Author SHA1 Message Date
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
John Firebaugh
853dc286b9 Add sidebar loading indicator 2013-11-12 17:01:47 -08:00
Aaron Lidman
1673851b50 Add zoom to note 2013-11-12 15:12:40 -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
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
8b5e0d0248 Fix order of initialization
initializeNotes needs to be called after L.OSM.note.
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
John Firebaugh
b90d27cdff Tweak attribution 2013-11-07 12:14:10 -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
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
John Firebaugh
c798962cda Fix feedback loop between L.hash and popstate 2013-11-06 12:26:32 -08:00
Eden Halperin
537d72b0f6 responsive secondary pages and fixed map 2013-11-06 12:57:21 -05:00
Eden Halperin
582ab35ecd groundwork for responsive menu 2013-11-06 10:31:49 -05:00
John Firebaugh
0f799186ab Use appropriate precision for "Where am I?" 2013-11-05 13:27:18 -08:00
John Firebaugh
637799f1f5 Fix export location filter button
Upstream pull request:
https://github.com/kajic/leaflet-locationfilter/pull/14
2013-10-13 14:46:10 -07:00
John Firebaugh
4cf32e0f00 Don't try to route external URLs 2013-10-13 14:46:10 -07:00
John Firebaugh
8530e3eedb AJAXy changeset history 2013-10-13 14:46:09 -07:00
John Firebaugh
bcc4897ef6 Restore previous map state on popstate 2013-10-13 14:46:09 -07:00
John Firebaugh
c9dcccdc90 Don't route clicks on the dropdown menus 2013-10-13 14:46:09 -07:00
John Firebaugh
32645dd856 Implement closing sidebar 2013-10-13 14:46:09 -07:00
John Firebaugh
6157280d19 Refactor browsed object loading 2013-10-13 14:46:08 -07:00
John Firebaugh
de97f7bfe4 Consolidate layer initialization 2013-10-13 14:46:08 -07:00
John Firebaugh
35458c0096 Convert search to pushState 2013-10-13 14:46:08 -07:00
John Firebaugh
a56d1036d5 pushState based navigation between map-based layouts 2013-10-13 14:46:08 -07:00
John Firebaugh
d414ffc61a Simplify geolink-related code
#zoom/lat/lon hash format is now used consistently.
2013-10-13 14:46:07 -07:00
John Firebaugh
2f076d8f34 Fix "Edit" button when browsing features 2013-10-13 14:46:07 -07:00
John Firebaugh
99775524b3 Fix display of browsed objects on map 2013-10-13 14:45:58 -07:00
John Firebaugh
e8ac6bd5d9 Convert history page to sidebar layout 2013-10-13 14:45:58 -07:00
John Firebaugh
a01195f149 Sidebar work 2013-10-13 14:45:58 -07:00
Tom Hughes
b756c5fd6e Add HOT layer to the main page 2013-09-23 17:50:06 +01:00
Tom Hughes
4e214746c6 Zoom out when switching to a layer with a lower maxZoom 2013-09-23 17:29:07 +01:00
Tom Hughes
ba8bc1a37f Stop default layer flickering when notes or data are shown 2013-09-13 16:07:51 +01:00
Tom Hughes
366fb80ddb Make sure we always have a base layer 2013-09-09 18:30:27 +01:00
Tom Hughes
9bcd049c98 Notice, and act on, changes to the layer parameter in the URL bar 2013-09-09 15:17:09 +01:00