Commit graph

304 commits

Author SHA1 Message Date
Łukasz Gurdek
14ac1babc2 Changeset discussions
Add support for commenting on changesets with RSS feeds and email
notification of comments to other commenters and people that have
chosen to subscribe to a changeset.
2014-10-23 21:24:51 +01:00
Tom Hughes
d1bebd0803 Make sure we pan immediately when a search result is clicked
Fixes #763
2014-06-18 09:36:02 +01:00
Tom Hughes
103fd8a38f Improve behaviour of new search markers 2014-06-17 19:12:32 +01:00
Tom Hughes
a70b61315c Merge branch 'master' into overpass 2014-06-15 14:54:39 +01:00
Tom Hughes
399fe3c12a Highlight search results when the mouse is over them
Fixes #748
2014-06-15 14:11:17 +01:00
John Firebaugh
6b0d4dcab2 Supply hints for OSRM 2014-05-14 16:00:31 -07:00
John Firebaugh
f2bf38606e Permalinks for directions 2014-05-14 15:52:25 -07:00
John Firebaugh
2b252e8337 Refactor 2014-05-13 10:16:53 -07:00
John Firebaugh
18c7c4f5d7 Use unobtrusive JS for routing related events 2014-05-12 12:49:54 -07:00
John Firebaugh
be79156f43 OSM.Routing -> OSM.Directions
Too close of a name collision to OSM.Router.
2014-05-12 12:46:09 -07:00
Tom Hughes
e85bcf9c4d Don't try and route to a note with no ID
Fixes #733
2014-04-26 00:13:49 +01:00
Tom Hughes
676e624928 Ignore clicks on query results if the mouse has moved 2014-03-31 11:33:27 +01:00
Tom Hughes
e7ef10d428 Merge branch 'master' into overpass 2014-03-31 11:30:57 +01:00
Tom Hughes
883a375d1a Ignore clicks on history entries if the mouse has moved
Ignore click events on history events if the mouse moves so that
drag selection can work. Fixes #581.
2014-03-31 11:25:40 +01:00
Tom Hughes
ca07fe853c Remove highlight from map when clicking on a feature 2014-03-28 22:48:22 +00:00
Tom Hughes
8642e4c1f3 Stop query button disabling query mode once it is active 2014-03-28 22:44:59 +00:00
Tom Hughes
50ea797f33 Add https support for overpass 2014-03-25 18:58:21 +00:00
Tom Hughes
2e05669a22 Add comment describing the overpass queries we use 2014-03-17 09:19:14 +00:00
Tom Hughes
03f3fd5954 Simplify overpass query for nearby objects 2014-03-17 09:14:42 +00:00
Tom Hughes
d5fdc0855a Add an error handler for overpass AJAX calls 2014-03-17 00:24:29 +00:00
Tom Hughes
1f250c45bd Make sure the query location is always in view 2014-03-16 16:47:27 +00:00
Tom Hughes
203ba58bab Merge branch 'master' into overpass 2014-03-16 16:20:39 +00:00
Tom Hughes
5452cfeb08 Pivot areas to the underlying way or relation object 2014-03-16 16:18:13 +00:00
Tom Hughes
b87e60e0b6 Abort any existing requests when starting new ones 2014-03-16 16:18:13 +00:00
Tom Hughes
5f970fe334 Make overpass server URL configurable 2014-03-16 16:18:13 +00:00
Tom Hughes
913da4a8db Use POST for overpass queries 2014-03-16 16:18:13 +00:00
Tom Hughes
77e39800d5 Build and show partial geometries for relatons 2014-03-16 16:18:13 +00:00
Tom Hughes
ca35ac16e7 Consider addr:housename as a name source for features 2014-03-16 16:18:13 +00:00
Tom Hughes
b6438f5a9e Style feature in query mode to match browse mode 2014-03-16 16:18:13 +00:00
Tom Hughes
606ac76108 Disable query feature tool below z14 2014-03-16 16:18:13 +00:00
Tom Hughes
8a70e1c082 Increase search radius at lower zooms 2014-03-16 16:18:13 +00:00
Tom Hughes
dedd87da28 Show a message when no features are found 2014-03-16 16:18:13 +00:00
Tom Hughes
e329bf37c0 Improve styling of feature list 2014-03-16 16:18:13 +00:00
Tom Hughes
479b22ca77 Filter out nodes which are too far away 2014-03-16 16:18:13 +00:00
Tom Hughes
078059b76b Initial work on overpass based query API 2014-03-16 16:18:12 +00:00
Tom Hughes
4cad1970fb Make sure the hash updates properly on browse pages
Rework the way the move listener is disabled during initial
positiong of pages to avoid accidentally leaving it disabled
for the first user move of the map in some cases.
2014-03-16 14:11:29 +00:00
Tom Hughes
82ff8ef58d Remove unused (and bogus) code 2014-03-13 17:33:46 +00:00
Tom Hughes
b4a2b23025 Block submission of the export form when the area is too large 2014-03-13 17:33:06 +00:00
Tom Hughes
66039dedb0 Move zoomPrecision function to the OSM namespace 2014-02-27 18:15:54 +00:00
Tom Hughes
fd0ed54b16 Add a close icon to the feature warning panel
Fixes #660
2013-12-18 00:14:29 +00:00
Tom Hughes
9cc9a00988 Restore autofocusing of the search field
Use the HTML5 autofocus attribute, and focus on load for browsers
which don't support it.

Also change the removal of the "Where am I?" prompt to happen on
input rather than when the field is focused, so that it is properly
removed and restored when the field has been autofocused.

Fixes https://trac.openstreetmap.org/ticket/5065
2013-12-10 19:45:28 +00:00
Aaron Lidman
a796c41881 Refine zooming and panning for note and data layers
Fixes #629
Fixes #643
2013-12-09 23:05:38 +00:00
Roland Olbricht
83b3db9974 Improve display of alternative download sources
Makes the list of alternative sources displayed all the time
rather than just when the bounding box is too large, and adds
the Overpass API to the list of sources.

Fixes #606
Fixed #635
2013-12-07 14:56:47 +00:00
John Firebaugh
a47d6c212d Restore marker for non-browse search results
Fixes #615
2013-12-05 19:10:48 +00:00
Tom Hughes
b65ad205d1 Position on notes correctly when a link to a comment is loaded
Links to note comments in the RSS feed have a #id on the end to
position on the right comment, so don't let those hash strings
stop the map from panning to the note.

Fixes #603.
2013-12-04 08:41:56 +00:00
John Firebaugh
bdbc1d663d Unconditionally unbind moveend event
Can't rely on checking location.pathname -- inside unload,
it already contains the new path. Fortunately, checking is
unnecessary.

Fixes TypeError: Cannot call method 'split' of undefined.
2013-12-04 00:31:20 +00:00
John Firebaugh
6053ed4124 Update history feed URL with bbox parameter
https://lists.openstreetmap.org/pipermail/dev/2013-December/027599.html
2013-12-03 20:12:10 +00:00
John Firebaugh
944f3ebb67 Remove map data size warning (#592) 2013-12-03 19:38:26 +00:00
Tom Hughes
6362f60a54 Display the size warning when the data layer is disabled 2013-12-03 09:17:02 +00:00
Tom Hughes
77b4ff6ceb Use jQuery Simulate to simulate click events 2013-12-03 00:29:23 +00:00