Commit graph

33 commits

Author SHA1 Message Date
Tom Hughes
8482a525c0 Remove unneessary return added accidentally 2013-11-25 19:14:52 +00:00
Tom Hughes
87bf5e73d4 Fix "in bounds" test in updateData
Only call getData if the new bounds are not contained within the
old bounds, and only update the bounds after a successful load so
that the don't change if we error out.
2013-11-25 19:13:01 +00:00
Aaron Lidman
e62bac06ed Improved noteLayer and dataLayer availability, closes #65 2013-11-15 15:06:44 -08:00
John Firebaugh
4863a94906 Remove "Loading..." from browse for now 2013-11-13 13:50:36 -08:00
Aaron Lidman
4bfbdcc2f1 Loading indicator for notes 2013-11-12 11:20:23 -08:00
John Firebaugh
b903d8b746 Fix browse overlay status messages 2013-11-08 10:46:24 -08:00
John Firebaugh
e5ca823f30 Work towards integrating data overlay and browse pages 2013-10-13 14:46:09 -07:00
John Firebaugh
de97f7bfe4 Consolidate layer initialization 2013-10-13 14:46:08 -07:00
John Firebaugh
a01195f149 Sidebar work 2013-10-13 14:45:58 -07: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
John Firebaugh
6618cb9019 Include layers in hash 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
John Firebaugh
5e9ab5bc5e Layers work 2013-07-18 10:45:14 -07:00
John Firebaugh
9d33721630 Complete de-globalization of map 2013-07-18 10:45:13 -07:00
John Firebaugh
ef37ad8aaa Basic framework for map UI 2013-07-18 10:31:19 -07:00
Tom Hughes
168a9fc327 Replace various Leaflet extensions with new builtin methods 2013-06-27 21:53:26 +01:00
Tom Hughes
456d41e189 Remove use of jQuery toggle() function 2013-02-12 10:31:38 +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
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
John Firebaugh
deff87a577 Reduce flicker in data browser 2012-11-09 12:59:28 -08:00
John Firebaugh
030b7c4052 Update leaflet-osm 2012-11-09 12:59:28 -08:00
John Firebaugh
800f014486 Remove calls to map.setCenter 2012-11-09 12:59:27 -08:00
John Firebaugh
30ad58c01f Port to Leaflet 2012-11-09 12:59:27 -08:00
John Firebaugh
e316f0e425 Use jQuery's toggle binding
The old code never unbound the existing binding, so they
piled up.
2012-11-09 12:59:27 -08:00
John Firebaugh
14bc538681 Use ejs templates in browse JS 2012-10-13 13:01:00 +01:00
John Firebaugh
24c0bb1c88 Use proj/unproj consistently 2012-10-13 12:58:18 +01:00
John Firebaugh
b95f9115d7 Move browse-related JS to browse.js 2012-10-13 12:57:59 +01:00
John Firebaugh
87e8cf3b58 Require index-only JS in index.js 2012-09-30 11:58:14 +01:00
Renamed from app/assets/javascripts/browse.js (Browse further)