Commit graph

530 commits

Author SHA1 Message Date
John Firebaugh
ad7bc7415b Remove unused 2013-10-13 14:46:06 -07:00
John Firebaugh
3ebad9ec2f Add about page 2013-10-13 14:46:05 -07:00
John Firebaugh
08a55ed1b5 Remove unused bounds parameters
These were used by "View on larger map" links,
which no longer exist.
2013-10-13 14:46:05 -07:00
John Firebaugh
53e4d600e7 Fixes 2013-10-13 14:45:58 -07:00
John Firebaugh
99775524b3 Fix display of browsed objects on map 2013-10-13 14:45:58 -07:00
John Firebaugh
b30983f02b Convert browse details to sidebar layout 2013-10-13 14:45:58 -07:00
John Firebaugh
e8ac6bd5d9 Convert history page to sidebar layout 2013-10-13 14:45:58 -07:00
John Firebaugh
a01195f149 Sidebar work 2013-10-13 14:45:58 -07:00
John Firebaugh
6adcce4e5d Frontpage redesign 2013-10-13 14:45:58 -07:00
John Firebaugh
aaeca5b534 Use reverse geocoders for any lat/lon queries
This simplifies the implementation, allows code sharing with
"Where am I?", and produces friendlier results for lat/lon
searches (actual reverse geocode results rather than a raw
lat/lon display).
2013-10-13 19:30:38 +01:00
Tom Hughes
e19e996f1f Improve behaviour of browse pages when no bounding box is available 2013-10-01 22:46:16 +01:00
Omar Vega
2d0dcbd9d0 Adding internationalization in links share and layers. 2013-10-01 19:38:27 +01:00
Tom Hughes
b756c5fd6e Add HOT layer to the main page 2013-09-23 17:50:06 +01:00
Tom Hughes
4e214746c6 Zoom out when switching to a layer with a lower maxZoom 2013-09-23 17:29:07 +01:00
Tom Hughes
42fa563e01 Fix some Leaflet asset loading issues 2013-09-22 11:47:45 +01:00
Tom Hughes
984c6dc114 Update to rails 4.0.0 2013-09-21 11:35:45 +01:00
Tom Hughes
ba8bc1a37f Stop default layer flickering when notes or data are shown 2013-09-13 16:07:51 +01:00
Tom Hughes
366fb80ddb Make sure we always have a base layer 2013-09-09 18:30:27 +01:00
Tom Hughes
9bcd049c98 Notice, and act on, changes to the layer parameter in the URL bar 2013-09-09 15:17:09 +01:00
Tom Hughes
b394a4d309 Add support triggering a piwik goal when a map layer is selected 2013-08-24 12:55:29 +01:00
Tom Hughes
26855add38 Rework piwik configuration 2013-08-24 12:54:51 +01:00
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
Tom Hughes
56fd5c4d90 Merge remote-tracking branch 'osmlab/welcome-2' 2013-08-18 14:50:36 +01:00
John Firebaugh
c919340c11 Need to preventDefault on href='#' links
Fixes https://trac.openstreetmap.org/ticket/4947
2013-08-15 17:42:43 +01:00
Tom Hughes
1a9651ffb0 Set longitude correctly in "where am I" lookups from the edit page 2013-08-12 23:58:34 +01:00
John Firebaugh
78d6bde485 Support background hash parameter for iD
Fixes systemed/iD#1590
Fixes systemed/iD#1682
2013-08-12 23:53:41 +01:00
John Firebaugh
8ca781ac75 Add manual fallback for "Start Mapping" button 2013-08-12 13:34:45 -07:00
John Firebaugh
a4f37de7e9 Update with hash permalinks 2013-08-12 13:34:45 -07:00
John Firebaugh
2fa4225784 Pass editing params through to welcome page 2013-08-12 13:34:44 -07:00
John Firebaugh
ef880621a4 Combine and refine third and sixth section 2013-08-12 13:34:41 -07:00
John Firebaugh
1a51f21871 Add a "Start Mapping" button
Position is determined in one of two ways: lat/lon query
parameters (with helpful text from a nominatim reverse
geocode), or HTML5 geolocation.
2013-08-12 13:34:41 -07:00
Tom Hughes
5da715756d Fix "view larger map" link in HTML sharing 2013-08-12 00:24:32 +01:00
Tom Hughes
9d68b65cd3 Fix "where am I" on the edit page 2013-08-11 15:58:42 +01:00
John Firebaugh
1b2738af80 Update leaflet.locate (fixes #438) 2013-08-08 14:26:14 -07:00
John Firebaugh
d31fc7c2f5 Add copyright in attribution control 2013-08-08 10:59:13 +01:00
John Firebaugh
54ded37bf2 Tooltips for map controls 2013-08-07 15:41:32 -07:00
Tom Hughes
258e66299a Fix the "Where am I?" link 2013-08-07 08:42:57 +01:00
John Firebaugh
a1af4d5de1 Hide search marker/object when closing sidebar
Fixes #417
2013-08-06 20:23:13 +01:00
John Firebaugh
c6cde2653b Refactor search JS 2013-08-06 20:23:06 +01:00
John Firebaugh
f18740a7af Fix "Edit area" links 2013-08-06 20:20:31 +01:00
John Firebaugh
e6ef6defb2 Wrap marker coordinates in URLs 2013-08-06 10:44:02 -07:00
John Firebaugh
7ee58d77b7 Wrap permalink coordinates 2013-08-06 09:12:20 -07:00
Tom Hughes
04fbc71a40 Ignore clicks on the add note button when it is disabled 2013-08-06 10:40:05 +01:00
Tom Hughes
afc46bcd9b Recognise locations in the hash correctly 2013-08-06 10:23:51 +01: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
34e251c225 Disable map key on non-default layers 2013-08-05 16:22:49 -07:00
John Firebaugh
a89d75d3d8 Recenter marker on map pan/zoom 2013-08-05 12:27:37 -07: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