Commit graph

1012 commits

Author SHA1 Message Date
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
ce53e510ad Prefer hash to other methods of determining location 2013-07-30 15:41:41 -07:00
John Firebaugh
57e711d343 Use leaflet-hash 2013-07-30 15:41:40 -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
7db1180506 Reduce user location to be between -180 and 180 degrees 2013-07-30 21:20:09 +01:00
Tom Hughes
b1dae2e798 Round user home location to a sensible precision 2013-07-30 18:05:57 +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
John Firebaugh
c93308dd5c Correct sprite CSS for permalink (#352) 2013-07-29 22:33:36 +01:00
John Firebaugh
606e66beb3 Ensure URL used for oauth header is absolute
Fixes #356.
2013-07-21 08:47:21 +01:00
John Firebaugh
c71209507b Fix layer map bounciness (#361) 2013-07-21 08:43:33 +01:00
Tom Hughes
8ba70fa08d Pass correct arguments to updatelink 2013-07-19 14:07:48 +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
John Firebaugh
7094370208 Restore prohibition on low-zoom notes 2013-07-18 11:45:44 -07:00
John Firebaugh
33b7903c79 Drop base layer blurb, tighten vertical space 2013-07-18 10:45:18 -07:00
John Firebaugh
5cf26d0559 Fix minzoom alert 2013-07-18 10:45:18 -07:00
John Firebaugh
3792551f48 RTL support 2013-07-18 10:45:18 -07:00
John Firebaugh
f5f4bfd725 IE compatibility 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
d9f3ceed95 Fix search 2013-07-18 10:45:17 -07:00
John Firebaugh
4efab66bc6 Fix undefined=undefined in query strings 2013-07-18 10:45:17 -07:00
John Firebaugh
68a46f2452 Switch back to links for sharing 2013-07-18 10:45:17 -07:00
John Firebaugh
dc8751cf7a Auto-select share link text 2013-07-18 10:45:17 -07:00
John Firebaugh
5c0aeb1558 Match the other sidebar better 2013-07-18 10:45:17 -07:00
John Firebaugh
b21d0906c4 Use a radio button for base layers 2013-07-18 10:45:16 -07:00
John Firebaugh
ad10390663 Fix export tab bugs 2013-07-18 10:45:16 -07:00
John Firebaugh
1debc147b8 Move base layer UI above overlay layer UI 2013-07-18 10:45:16 -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
John Firebaugh
9d5b81094c Fix add note 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
c26b60c4c6 Focus share link by default 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
John Firebaugh
6f102f2726 Fix minimap event bindings 2013-07-18 10:45:15 -07:00
John Firebaugh
a6ac56c5e5 Only one pane visible at a time 2013-07-18 10:45:15 -07:00
John Firebaugh
1f4e41f672 Fix export 2013-07-18 10:45:15 -07:00
John Firebaugh
8d671c5323 Fix attribution width 2013-07-18 10:45:14 -07:00
John Firebaugh
c8f8dbca19 Port map key to new UI 2013-07-18 10:45:14 -07:00
John Firebaugh
eebe1f1d3e Consistent JavaScript style 2013-07-18 10:45:14 -07:00
John Firebaugh
f1a4669c95 Arrange and group map buttons 2013-07-18 10:45:14 -07: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
ef73cc1f57 Layers work 2013-07-18 10:45:13 -07:00
Tom MacWright
d0ed118ee2 Refactor out 'globals' from more functions 2013-07-18 10:45:13 -07:00