Commit graph

846 commits

Author SHA1 Message Date
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
John Firebaugh
ed75d4710b Conform to project style conventions 2014-05-12 12:32:32 -07:00
Tom Hughes
a5cef0cd80 Remove non-existent image from leaflet URL map 2014-04-27 19:18:45 +01: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
5e5c6b3a29 Add support for remote edit over https on port 8112 2014-04-01 19:17:15 +01:00
Peter
873c1cb84e Using GraphHopper new API 2014-04-01 16:22:06 +02:00
Richard Fairhurst
9126653ffd Merge pull request #19 from apmon/jsroute2
Minor fixes to the I18n code of routing
2014-03-31 17:51:37 +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
Kai Krueger
d24cba4345 Minor fixes to the I18n code of routing
MapQuest instructions still don't translate, as that backend doesn't accept
simple language locals but require country codes as well.
2014-03-29 16:47:42 -06: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
Dan Stowell
52054e6b23 Fix hours:minutes duration display for routing 2014-03-22 12:53:08 +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
0de6885a91 Drop client side parsing of lat/lon parameters
The server always redirects these to a new style link with the
position in the hash, so we don't need to do it client side
2014-03-16 12:56:32 +00:00
Tom Hughes
24e22dde6e Don't call updateLayers if the new state has no layer config
Fixes #719
2014-03-13 21:36:33 +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
9b35270d0b Update map state when following a client side route 2014-03-13 13:37:45 +00:00
Richard Fairhurst
23ffdadb56 Don't show http-only routers to users on https 2014-03-10 18:02:28 +00:00
Richard Fairhurst
9d8ab7dbd1 From->To->Go order as per @samanpwbb's comment 2014-03-10 16:55:01 +00:00
Richard Fairhurst
888db7a3b4 Firefox-friendly calculation of dragstart offset
(personally I am not feeling very Firefox-friendly right now)
2014-03-09 21:29:48 +00:00
Dan Stowell
bc67479bcc jsrouting: clear search boxes on page unload 2014-03-09 15:06:08 +00:00
Richard Fairhurst
42c1dec8f0 Resolve conflict 2014-03-09 12:05:37 +00:00
Dan Stowell
15f0367e7f jsrouting: mouseover an instruction, highlight the route segment 2014-03-09 09:37:42 +00:00
Tom Hughes
b095b59d5e Merge remote-tracking branch 'origin/master' into routing
Conflicts:
	app/views/layouts/_search.html.erb
2014-03-08 17:44:22 +00:00
Richard Fairhurst
5c0e96e0e0 Convert tabs to spaces
(because I'll be lynched otherwise, mutter grumble)
2014-03-08 16:39:51 +00:00
Richard Fairhurst
926c7b56a8 Zoom to fit when submitting form 2014-03-08 16:31:54 +00:00
Richard Fairhurst
3ef8024b1d Add distance/time summary 2014-03-08 16:14:14 +00:00