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
34e251c225
Disable map key on non-default layers
2013-08-05 16:22:49 -07:00
John Firebaugh
406e93de95
Port fix for Leaflet issue #1919
2013-08-05 14:30:50 -07:00
John Firebaugh
a89d75d3d8
Recenter marker on map pan/zoom
2013-08-05 12:27:37 -07:00
Tom Hughes
b12598112a
Add method specifiers to oauth routing tests
2013-08-05 20:12:49 +01:00
Martin Raifer
79bdb0ff86
Do not fit map to search result (object) twice
...
When clicking on search results the respective osm object is loaded
asynchronously and afterwards shown on the map. Some objects can take
a few seconds to load however.
If a user already panned/zoomed the map manually during this time then
their actions are reverted because the map fits to the object again.
There is actually no need for this behaviour, because a good geocoder
already returns an appropriate bounding box for the search result.
2013-08-05 18:50:40 +01:00
John Firebaugh
49b0dd4af5
Fix heart icon color
2013-08-05 08:37:51 -07:00
John Firebaugh
21ad851612
Reset filter bounds whenever it's enabled
2013-08-05 08:32:44 -07:00
John Firebaugh
160f7b26e8
Fix map control style on non-main page maps
2013-08-05 08:32:44 -07:00
John Firebaugh
48775da938
Make the toggles themselves permalinks
2013-08-05 08:32:44 -07:00
John Firebaugh
fa9b4a5f6a
Add/remove active class on map UI buttons
2013-08-05 08:32:43 -07:00
John Firebaugh
a125ee829a
Include object in share link
2013-08-05 08:32:42 -07:00
John Firebaugh
95ce2515d1
Tweak labels
2013-08-05 08:31:47 -07:00
John Firebaugh
98cd01c40d
Toggle between Link / Short Link / HTML
2013-08-05 08:31:47 -07:00
John Firebaugh
a3d69ee264
Put link next to input and make it non-navigable
2013-08-05 08:31:47 -07:00
John Firebaugh
f1a6755060
Always center map on marker
...
Not centering is of dubious usefulness, and doesn't work
at all with a short link.
2013-08-05 08:31:46 -07:00
Saman Bemel-Benrud
dcbc42b1a4
reversed color on map controls and prepped active toggle
2013-08-05 08:31:46 -07:00
Saman Bemel-Benrud
8ef21285ab
consistent padding in sidebar menu.
2013-08-05 08:31:46 -07:00
Saman Bemel-Benrud
c47b417f3e
divide embed section from share section.
2013-08-05 08:31:46 -07:00
John Firebaugh
f17304e8ed
Fix embed
2013-08-05 08:31:46 -07:00
John Firebaugh
3eb4f1938c
Add "Center map on marker" option
2013-08-05 08:31:46 -07:00
John Firebaugh
bf7b2cf381
Design adjustments to Link / HTML sharing
2013-08-05 08:31:46 -07:00
John Firebaugh
6edf633885
Update location filter checkbox state correctly
2013-08-05 08:31:45 -07:00
John Firebaugh
f080d161e0
Tighten vertical space
2013-08-05 08:31:45 -07:00
John Firebaugh
1285f9d38c
Fix textarea resizing
2013-08-05 08:31:45 -07:00
John Firebaugh
669393a6cb
Recenter marker when shown
2013-08-05 08:31:45 -07:00
John Firebaugh
6dcd087abc
Remove marker and filter when closed
2013-08-05 08:31:45 -07:00
John Firebaugh
2aa391e849
Link to sources for bulk downloads
2013-08-05 08:31:45 -07:00
John Firebaugh
f898058e76
Add option to include marker in permalinks
2013-08-05 08:31:37 -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
Tom Hughes
b8f126bcf6
Update short link integration tests for hash links
2013-08-04 12:50:05 +01:00
Tom Hughes
58eb17cb63
Update user location setting for zoomPrecision change
2013-08-04 12:40:20 +01:00
Tom Hughes
f9d714dfd3
Merge remote-tracking branch 'osmlab/hash'
2013-08-04 12:38:59 +01:00
Tom Hughes
755585e230
Add functional tests for nodes/ways/relations API methods
2013-08-04 11:12:09 +01:00
Paul Norman
a1a5706203
Make the multi-get calls throw 400 errors on invalid input
...
Also refactor ways and relations to use the same structure as nodes
2013-08-04 10:54:45 +01:00
Tom Hughes
ec9634d865
Fix language switching on user terms page
2013-08-01 17:47:49 +01:00
John Firebaugh
849e874dce
Refactor user creation actions
...
Create a separate #create action that handles POSTs to
/user/new. This simplifies the other actions and ensures
that the URL is /user/new when validation errors occur,
rather than /user/terms.
Fixes #398
2013-08-01 17:32:40 +01:00
John Firebaugh
c4edac9fd8
Always run tests using example.application.yml
...
This fixes an Oauth integration test failure when a
custom application.yml is present.
2013-08-01 17:26:48 +01: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
ce53e510ad
Prefer hash to other methods of determining location
2013-07-30 15:41:41 -07:00
John Firebaugh
c8d4e4eee3
Redirect lat/lon/zoom query params to hash
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