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
Tom Hughes
691352136a
Merge remote-tracking branch 'jfirebaugh/562'
2013-12-03 00:23:16 +00:00
John Firebaugh
528d4a040e
Improve click behavior on changeset entries
...
On Chrome, this lets clicks with modifier keys anywhere
on the changeset entry work as expected. On other browsers,
modifier keys still only work on the link itself.
2013-12-02 16:13:58 -08:00
John Firebaugh
95f1069552
Fix application error on non-feature search results
...
Fixes #560
2013-12-02 14:08:56 -08:00
John Firebaugh
d95361bcb9
Support legacy bbox param on /history as well
...
Fixes #586
2013-12-02 11:38:54 -08:00
Tom Hughes
be931d0955
Restore click handler for changeset entries
...
The default click handler only handle the, not the rest of the
entry, so retore the handler but add an e.preventDefault() call
to stop the second handler running.
2013-12-02 18:49:56 +00:00
Tom Hughes
9e25f5563d
Drop click handler for changeset entries in the history sidebar
...
The default click handler in index.js handles them fine, and as this
one was not calling preventDefault both were actually firing in some
browsers, causing the changeset to be loaded twice and two history
entries to be created.
2013-12-02 10:17:53 +00:00
Tom Hughes
63617dabb1
Fix javascript eror redirecting to new notes
2013-12-01 22:41:30 +00:00
Tom Hughes
3b6580297f
Rename changed translation to avoid test failures
2013-12-01 09:11:59 +00:00
Tom Hughes
3cd5f45e08
Simplify browse routes and make routes more consistent
...
This gets rid of the /browse/ prefix and uses /history consistently
for all routes that show a list of changesets.
2013-11-28 00:14:07 +00:00