Commit graph

37 commits

Author SHA1 Message Date
John Firebaugh
a125ee829a Include object in share link 2013-08-05 08:32:42 -07:00
Tom Hughes
8ba70fa08d Pass correct arguments to updatelink 2013-07-19 14:07:48 +01:00
John Firebaugh
aff23d4b4b Simplify sidebar/resize
Float sidebars left/right and use overflow: hidden.
Fixes a bug on Opera where mouse events propagate to
the map.
2013-07-18 10:45:18 -07:00
John Firebaugh
de5a225a95 Use custom zoom control everywhere 2013-07-18 10:45:16 -07:00
Tom MacWright
d0ed118ee2 Refactor out 'globals' from more functions 2013-07-18 10:45:13 -07:00
Tom MacWright
64f5b3f511 Refactoring 4 life 2013-07-18 10:40:24 -07:00
Tom MacWright
5fc7a47f6d Use querystring, stop manually building urls 2013-07-18 10:37:45 -07:00
Tom MacWright
7bcea3839d Even more map ui js refactor 2013-07-18 10:37:44 -07:00
Tom MacWright
7c06f2b47e More refactoring of map js 2013-07-18 10:37:16 -07:00
Tom MacWright
483854f411 Start to refactor updatelinks 2013-07-18 10:36:08 -07:00
John Firebaugh
4563244fd1 Clean up some of the map JS, reduce scope of globals 2013-07-18 10:34:17 -07:00
Tom MacWright
7d84b81fd9 Remove unnecessary abstraction around rectangles 2013-07-18 10:31:20 -07:00
Tom MacWright
73bbee5df9 Add leaflet-locate control, invisible currently. 2013-07-18 10:31:19 -07:00
Tom Hughes
2119911aa5 Tone down the highlighting of Nominatim search results 2013-07-18 15:29:01 +01:00
Tom Hughes
168a9fc327 Replace various Leaflet extensions with new builtin methods 2013-06-27 21:53:26 +01:00
Tom Hughes
47a75be1c7 Use the correct longitude for links when browsing changesets 2013-04-25 17:27:01 +01:00
Tom Hughes
a51509c668 Add link to show a note on the map to the note browser page 2013-02-03 17:44:05 +00:00
Tom Hughes
de78176e04 Rework notes UI using leaflet 2012-12-02 14:13:54 +00:00
Tom Hughes
78f608b114 Merge branch 'master' into notes
Conflicts:
	app/assets/javascripts/browse.js
	app/assets/javascripts/map.js.erb
	app/assets/stylesheets/common.css.scss
	app/views/site/index.html.erb
2012-12-01 18:22:30 +00:00
John Firebaugh
3758930e18 Fix "Edit Area" remote control link
Fixes https://trac.openstreetmap.org/ticket/4699
2012-11-25 17:36:48 +00:00
John Firebaugh
eefc0b5a0d Fix bbox params on browse area links 2012-11-09 12:59:30 -08:00
John Firebaugh
6f793e1b21 Pan/zoom controls that look like the OL ones 2012-11-09 12:59:28 -08:00
John Firebaugh
19bac47e5f Don't show map controls on browse pages 2012-11-09 12:59:27 -08:00
John Firebaugh
30ad58c01f Port to Leaflet 2012-11-09 12:59:27 -08:00
Tom Hughes
c6be5f3a6f Fix up issues with notes in the data browser 2012-10-14 16:01:37 +01:00
Tom Hughes
0037502426 Merge branch 'master' into notes
Conflicts:
	Gemfile.lock
	app/views/browse/_map.html.erb
	app/views/site/index.html.erb
2012-10-13 15:55:34 +01:00
John Firebaugh
24c0bb1c88 Use proj/unproj consistently 2012-10-13 12:58:18 +01:00
Tom Hughes
824a474d93 Refactor updatelinks to avoid exceptions in updateLocation 2012-10-05 16:02:26 +01:00
John Firebaugh
e4ef507c5c Extract OSM.apiUrl 2012-10-05 15:26:54 +01:00
John Firebaugh
569f3cbe9b Remove unused event argument 2012-09-30 12:16:31 +01:00
John Firebaugh
7e3ca66fff Use $(document).ready() to initialise browse JS 2012-09-30 12:15:49 +01:00
John Firebaugh
7c5d0fff3d Move browse JS to page-specific script file 2012-09-30 12:14:25 +01:00
John Firebaugh
87e8cf3b58 Require index-only JS in index.js 2012-09-30 11:58:14 +01:00
Tom Hughes
d7da1562c3 Get rid of the sidebar's onclose global state 2012-08-30 23:02:54 +01:00
John Firebaugh
07c997d1d2 Avoid polluting the global scope
Only startBrowse and startExport need to be exposed;
everything else can be scoped inside those functions.
2012-08-27 21:05:52 +01:00
John Firebaugh
2e349ab51a Remove unused gem and add a comment where it was replaced 2012-08-27 20:29:56 +01:00
John Firebaugh
17b23b0756 Extract browse.js static asset 2012-08-27 20:23:24 +01:00
Renamed from app/views/browse/start.js.erb (Browse further)