John Firebaugh
cea0cccc6d
Convert edit menus to bootstrap dropdown
2013-08-21 17:20:04 -07:00
John Firebaugh
1727cd7c2b
Compact user menu
2013-08-21 17:20:04 -07:00
John Firebaugh
54ded37bf2
Tooltips for map controls
2013-08-07 15:41:32 -07:00
Tom Hughes
feeb135760
Merge remote-tracking branch 'osmlab/map-ui'
2013-08-06 09:05:59 +01:00
John Firebaugh
d4135390ac
Create linkloader iframe in script
2013-08-06 08:32:06 +01:00
John Firebaugh
f17304e8ed
Fix embed
2013-08-05 08:31:46 -07:00
John Firebaugh
6618cb9019
Include layers in hash
2013-07-30 15:41:41 -07:00
John Firebaugh
1a5f14d338
Update hash on P2 and iD edit pages and throttle
2013-07-30 15:41:41 -07:00
John Firebaugh
3c22a53c93
Generate hash-based permalinks
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
John Firebaugh
b5800b4c2f
Refactor URL generating methods
2013-07-30 15:41:41 -07:00
John Firebaugh
57e711d343
Use leaflet-hash
2013-07-30 15:41:40 -07:00
John Firebaugh
5cf26d0559
Fix minzoom alert
2013-07-18 10:45:18 -07: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
bab796bc7e
Include current non-OSM.org hostname in share URL
2013-07-18 10:45:16 -07:00
John Firebaugh
de5a225a95
Use custom zoom control everywhere
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
Tom MacWright
c3cdd4b5d7
Add layers code to share link
2013-07-18 10:45:15 -07:00
Tom MacWright
e96a64ca9c
Reuse styles for map-ui panel
2013-07-18 10:45:15 -07:00
Tom MacWright
9172695f7f
Implement long URL option, toggling, and labeling for share
2013-07-18 10:45:15 -07:00
Tom MacWright
d0ed118ee2
Refactor out 'globals' from more functions
2013-07-18 10:45:13 -07:00
Tom MacWright
33897d30b3
Scope map variable.
2013-07-18 10:40:24 -07:00
Tom MacWright
64f5b3f511
Refactoring 4 life
2013-07-18 10:40:24 -07:00
Tom MacWright
3a6c476833
Refactor forever
2013-07-18 10:37:45 -07:00
Tom MacWright
5fc7a47f6d
Use querystring, stop manually building urls
2013-07-18 10:37:45 -07:00
John Firebaugh
33aa0a6e45
Rename to L.OSM.Layers and continue implementation
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
483854f411
Start to refactor updatelinks
2013-07-18 10:36:08 -07:00
Tom MacWright
22d6633114
Start refactoring notes layer
2013-07-18 10:31:20 -07:00
Tom MacWright
c75d725893
generate short link kind of
2013-07-18 10:31:20 -07:00
Tom MacWright
36fac06bd5
Add share button to map
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 MacWright
5aea67a71f
Remove pan and zoom controls
2013-07-18 10:31:19 -07:00
Tom Hughes
fe2f03da14
Give up on automatic resizing of text areas
2013-07-18 15:31:51 +01:00
Tom Hughes
e84b2bd22f
Replace some inline javascript with a UJS solution
2013-05-06 11:09:17 +01:00
Tom Hughes
e8d32637c1
Add javascript OAuth support
2013-03-28 00:34:09 +00:00
John Firebaugh
6f793e1b21
Pan/zoom controls that look like the OL ones
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
30ad58c01f
Port to Leaflet
2012-11-09 12:59:27 -08:00
Tom Hughes
762d615859
Don't try and dereference an object that may not exist
2012-10-05 18:01:02 +01:00
Tom Hughes
824a474d93
Refactor updatelinks to avoid exceptions in updateLocation
2012-10-05 16:02:26 +01:00
John Firebaugh
c3d1123965
Merge globals.js.erb and params.js
2012-10-05 15:21:47 +01:00
John Firebaugh
87e8cf3b58
Require index-only JS in index.js
2012-09-30 11:58:14 +01:00
John Firebaugh
0509fc8d12
Move param-based map configuration to client
...
This prepares us for hash-based permalinks (#81 ) and removes
the duplication between index.html.erb and SiteController#edit.
2012-09-18 08:56:45 +01:00
John Firebaugh
14a7d1abfc
Use jquery.cookie
2012-09-18 08:55:27 +01:00
John Firebaugh
e338d11408
Move resize JS to application bundle
2012-09-07 13:05:25 -07:00
Tom Hughes
7af04f8691
Move rich text support code into a separate file
2012-09-06 20:44:24 +01:00
Tom MacWright
02de53eb45
Refactor view and css code around homepage links
...
This adds a new class to the body which we can use to do more styling
in CSS rather than erb-embedded Ruby. The only visual change is that
there's now a subtle transition for homepage links becoming active.
2012-09-06 20:28:23 +01:00
Tom Hughes
7c0055b5d7
Move piwik code to a static JS asset
2012-09-06 09:02:51 +01:00
John Firebaugh
519c7dc2dd
Move key JS to application bundle
2012-08-30 15:34:26 -07:00