Commit graph

602 commits

Author SHA1 Message Date
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
Richard Fairhurst
9a05a7ba49 Put marker at exact position user dragged it to 2014-03-08 15:17:22 +00:00
Richard Fairhurst
15904542a6 Pass on routing failures from MapQuest 2014-03-08 14:14:43 +00:00
Richard Fairhurst
2f0794738c Add CORS for engines that support it
(Do we need a fix for IE8/9?
- https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest
- https://github.com/jaubourg/ajaxHooks/blob/master/src/xdr.js )
2014-03-08 14:03:08 +00:00
Richard Fairhurst
a997690897 Refactor MQ/OSRM engines a la @karussell patch 2014-03-08 13:37:27 +00:00
Richard Fairhurst
dd4406ed41 Remove CloudMade foot engine
(OSM is probably not an "Enterprise Plan" customer ;) )
2014-03-08 12:35:00 +00:00
Richard Fairhurst
7915a22caf Use generic GraphHopper engine 2014-03-08 12:31:06 +00:00
Richard Fairhurst
3ddda7319c Merge pull request #13 from danstowell/jsrouting-ffoxdragok
fix firefox behaviour when dragging pointer from the tray to the map
2014-03-08 12:13:40 +00:00
Richard Fairhurst
5b6558c0f2 Improve error-handling 2014-03-08 12:07:54 +00:00
Richard Fairhurst
902f1b0887 Add spinner while awaiting route 2014-03-08 11:14:48 +00:00
Dan Stowell
f28676c07d fix firefox behaviour when dragging pointer from the tray to the map 2014-03-08 10:48:01 +00:00
Richard Fairhurst
bf895a0332 Reformat string to avoid long line 2014-03-08 10:43:29 +00:00
Dan Stowell
628eea2b97 jsrouting: zoom to bbox on getting fresh geocoded route, but not on drag etc 2014-03-08 10:09:30 +00:00
Richard Fairhurst
565f661f20 Merge pull request #11 from danstowell/jsrouting-pulldownchange
refresh search if showing and user changes provider
2014-03-07 15:58:04 +00:00
Tom Hughes
8c9992f695 Apply zoomPrecision to location cookie 2014-02-28 00:26:34 +00:00
Tom Hughes
1f22b625a0 Move cookieContent to OSM.locationCookie 2014-02-28 00:10:55 +00:00
Tom Hughes
66039dedb0 Move zoomPrecision function to the OSM namespace 2014-02-27 18:15:54 +00:00
Dan Stowell
deea77ab93 refresh search if showing and user changes provider 2014-02-23 22:15:38 +00:00
Dan Stowell
205ccf2d51 remove the todo that I addressed 2014-02-23 21:58:28 +00:00
Dan Stowell
acf7cf5738 add a credits line for each routing service 2014-02-23 21:56:39 +00:00
John Firebaugh
41b1bd4a70 Fix updateLinks({lat: 0, lon: 0}, ...)
Fixes openstreetmap/iD#2130
2014-02-18 17:20:52 -08:00
Tom Hughes
b947358134 Include selected layer in short links
Fixes #703
2014-02-15 12:05:30 +00:00
Tom Hughes
ee3e5d56d2 Remove https load test 2014-02-11 08:23:55 +00:00
Tom Hughes
a7f9ca32b7 Fix some mixed content issues 2014-02-08 17:43:34 +00:00
Tom Hughes
e5ff267073 Avoid using one translation as the key for a second
Translation keys need to be fixed, so we can't use the result of
one lookup to derive the key for another...

Fixes #697
2014-02-06 09:14:06 +00:00
Tom Hughes
ef448ea494 Boost https tile traffic to 20% 2014-02-05 19:43:44 +00:00
Tom Hughes
6b843cc158 Send 5% of users tiles over https as a test 2014-02-05 18:38:36 +00:00
Kai Krueger
3eaf58c151 Make more of the javascript routing functions internationalizable 2014-02-01 21:10:54 -07:00
Richard Fairhurst
3cfcf18a59 Remove some repeated-query funkiness 2014-01-23 22:53:07 +00:00
Richard Fairhurst
33b1845587 Remove a couple of TODOs 2014-01-23 22:32:39 +00:00
Richard Fairhurst
0e6a41c1c9 Repair Go button 2014-01-23 22:31:44 +00:00
Richard Fairhurst
149182f620 Apparently 'final' is a reserved word in JS... 2014-01-23 22:29:09 +00:00
Richard Fairhurst
7c13b43f31 Integrate marker & geocoding behaviours 2014-01-23 21:10:11 +00:00
Richard Fairhurst
423b13d5ce Add GraphHopper engine (thanks @karussell!) 2014-01-23 20:19:06 +00:00
Richard Fairhurst
e825f8b264 More draggable routes work 2014-01-23 11:38:01 +00:00
Richard Fairhurst
edd6235b45 More work on draggable markers 2014-01-23 10:26:04 +00:00
Richard Fairhurst
08837b2f8b Start work on drag-and-drop start/end markers 2014-01-23 00:49:00 +00:00
Richard Fairhurst
d40d32889c Remove logging 2014-01-22 20:31:58 +00:00
Richard Fairhurst
576745e332 Allow user to click Go before geocode result 2014-01-22 20:29:38 +00:00
Richard Fairhurst
81ebdee185 Parse CloudMade directions 2014-01-22 18:53:30 +00:00
Richard Fairhurst
36ee18b88e Parse MapQuest directions 2014-01-22 18:38:07 +00:00
Richard Fairhurst
d14406cead Move more engine-specific stuff out of main .js 2014-01-22 18:20:07 +00:00
Richard Fairhurst
c4f3d1bd32 Start MapQuest Open support 2014-01-22 15:53:35 +00:00
Richard Fairhurst
7834c628e9 Simplify usage, fix closures 2014-01-22 12:52:51 +00:00
Richard Fairhurst
3bd5ae2399 Move routing engines into their own files 2014-01-22 09:52:01 +00:00