Commit graph

426 commits

Author SHA1 Message Date
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
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
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
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
Aaron Lidman
6294e9ae59 Hide export button when export area is too large, closes #30 2013-11-07 09:12:14 -08:00
Aaron Lidman
e7d200c4a6 Sidebar close reverts to 'view' state 2013-11-06 16:59:14 -08:00
Eden Halperin
821f949869 compact menu fix, changeset highlight styles 2013-11-06 15:45:57 -05:00
Aaron Lidman
8756feab8a Consistent changeset color 2013-11-06 12:21:51 -08:00
John Firebaugh
ee9642a28b Link search results directly to browse pages 2013-11-05 12:26:59 -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
e5ca823f30 Work towards integrating data overlay and browse pages 2013-10-13 14:46:09 -07:00
John Firebaugh
8530e3eedb AJAXy changeset history 2013-10-13 14:46:09 -07:00
John Firebaugh
db675e706a Fix click on search result 2013-10-13 14:46:09 -07:00
John Firebaugh
aa20398cea Consolidate search-related JavaScript 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
d3bf4149e0 Don't autofocus search, fade out "Where am I?" on focus 2013-10-13 14:46:06 -07:00
John Firebaugh
a01195f149 Sidebar work 2013-10-13 14:45:58 -07:00
John Firebaugh
aaeca5b534 Use reverse geocoders for any lat/lon queries
This simplifies the implementation, allows code sharing with
"Where am I?", and produces friendlier results for lat/lon
searches (actual reverse geocode results rather than a raw
lat/lon display).
2013-10-13 19:30:38 +01:00
John Firebaugh
c919340c11 Need to preventDefault on href='#' links
Fixes https://trac.openstreetmap.org/ticket/4947
2013-08-15 17:42:43 +01:00
Tom Hughes
258e66299a Fix the "Where am I?" link 2013-08-07 08:42:57 +01:00
John Firebaugh
a1af4d5de1 Hide search marker/object when closing sidebar
Fixes #417
2013-08-06 20:23:13 +01:00
John Firebaugh
c6cde2653b Refactor search JS 2013-08-06 20:23:06 +01:00
Tom Hughes
04fbc71a40 Ignore clicks on the add note button when it is disabled 2013-08-06 10:40:05 +01:00
John Firebaugh
fa9b4a5f6a Add/remove active class on map UI buttons 2013-08-05 08:32:43 -07:00
John Firebaugh
438e8be102 Reorganize share/export UI
"Image" and "Embeddable HTML" options move to share control.
Only XML export remains, and is now accessed via a sidebar
link rather than the tab bar.
2013-08-05 08:25:52 -07:00
John Firebaugh
6618cb9019 Include layers in hash 2013-07-30 15:41:41 -07:00
John Firebaugh
b28511faca zoomPrecision doesn't need to be higher-order 2013-07-30 15:41:41 -07:00
Tom Hughes
5508a3857f Reload the object list when the data browser is reopened 2013-07-30 21:38:16 +01:00
Tom Hughes
90621b4b4f Abort a running data browser load before starting a new one 2013-07-30 21:30:16 +01:00
Tom Hughes
393651e8bd Remove geolink class from add note button while adding notes
This was lost in the recent UI work but is important to stop changes
in map location causing the button to be reenabled.
2013-07-29 22:49:59 +01:00
Tom Hughes
5f95fb6b78 Don't try and look at params.layers when it isn't set 2013-07-19 12:12:58 +01:00