Commit graph

35 commits

Author SHA1 Message Date
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
be86e4824f Convert various URLs to https 2018-01-08 20:18:21 +00:00
Tom Hughes
82ff8ef58d Remove unused (and bogus) code 2014-03-13 17:33:46 +00:00
Tom Hughes
b4a2b23025 Block submission of the export form when the area is too large 2014-03-13 17:33:06 +00:00
Tom Hughes
66039dedb0 Move zoomPrecision function to the OSM namespace 2014-02-27 18:15:54 +00:00
Roland Olbricht
83b3db9974 Improve display of alternative download sources
Makes the list of alternative sources displayed all the time
rather than just when the bounding box is too large, and adds
the Overpass API to the list of sources.

Fixes #606
Fixed #635
2013-12-07 14:56:47 +00:00
Aaron Lidman
c0b0829901 Fixed export filter 2013-11-18 18:45:06 -08:00
Aaron Lidman
fec9dc84c0 No hash on browse pages, closes #35 2013-11-14 17:41:20 -08:00
John Firebaugh
853dc286b9 Add sidebar loading indicator 2013-11-12 17:01:47 -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
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
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
32645dd856 Implement closing sidebar 2013-10-13 14:46:09 -07:00
John Firebaugh
a56d1036d5 pushState based navigation between map-based layouts 2013-10-13 14:46:08 -07:00
John Firebaugh
a01195f149 Sidebar work 2013-10-13 14:45:58 -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
b28511faca zoomPrecision doesn't need to be higher-order 2013-07-30 15:41:41 -07:00
John Firebaugh
ad10390663 Fix export tab bugs 2013-07-18 10:45:16 -07:00
Tom MacWright
ded28617c7 Add clearer close action, refactor base layer code 2013-07-18 10:45:15 -07:00
John Firebaugh
1f4e41f672 Fix export 2013-07-18 10:45:15 -07:00
John Firebaugh
ef73cc1f57 Layers work 2013-07-18 10:45:13 -07:00
Tom Hughes
168a9fc327 Replace various Leaflet extensions with new builtin methods 2013-06-27 21:53:26 +01: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
fe6e837cfe Replace leaflet.draw with leaflet-locationfilter 2012-11-09 12:59:28 -08:00
John Firebaugh
d5841403c4 Calculate scale in export 2012-11-09 12:59:27 -08:00
John Firebaugh
411748a48c Use baselayerchange event 2012-11-09 12:59:27 -08:00
John Firebaugh
30ad58c01f Port to Leaflet 2012-11-09 12:59:27 -08:00
John Firebaugh
24c0bb1c88 Use proj/unproj consistently 2012-10-13 12:58:18 +01:00
John Firebaugh
52daf1dbc4 Move export-related JS to export.js 2012-10-13 12:57:09 +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/export.js (Browse further)