Commit graph

23 commits

Author SHA1 Message Date
Tom Hughes
24ddb8657d Revert "Don't pass the locale to the Mapzen routing engine"
This reverts commit 38180c56c9.
2016-07-26 18:36:56 +01:00
Tom Hughes
38180c56c9 Don't pass the locale to the Mapzen routing engine
It only supports en-US currently, and passing anything else now
makes it error instead of falling back to en-US.
2016-03-15 10:03:18 +00:00
Tom Hughes
e128e78408 Move routing API endpoint addresses to config file 2016-01-11 19:03:47 +00:00
Tom Hughes
3932c6b7f2 User ferry icon for kFerryEnter with Mapzen routing 2015-10-12 21:17:57 +01:00
Simon Legner
ee5e4ac5a4 Add ferry routing information for OSRM
Relates to #1000.

Uses instruction code 18 to represent a ferry instruction. Ferry icon
taken from Mapbox Maki set (CC0).
2015-10-06 21:09:56 +02:00
Tom Hughes
3c771a7844 Improve error handling for routing engines 2015-09-30 21:58:16 +01:00
Tom Hughes
8df1212b59 Scale total distance to metres for Mapzen 2015-09-30 17:22:27 +01:00
Tom Hughes
e54eadea95 Add support for Mapzen's Valhalla routing engine 2015-09-29 15:37:04 +01:00
Tom Hughes
24eaeb2653 Fix jshint warning 2015-09-28 15:01:41 +01:00
Tom Hughes
31c80f6646 Use jsonp for MapQuest as CORS doesn't seem to be working 2015-09-28 14:47:32 +01:00
Tom Hughes
38213ab588 Allow jQuery to construct the routing URLs 2015-09-28 14:43:36 +01:00
Tom Hughes
7dd23a4b56 Move the MapQuest API key to the configuration file 2015-09-28 13:45:01 +01:00
Tom Hughes
d28ae2ad0a Change direction string ids to force retranslation 2015-07-08 20:38:28 +01:00
Tom Hughes
1729a680ac Improve formatting of OSRM directions
Fixes #904
2015-07-01 21:03:54 +01:00
Tom Hughes
fa3ccdfd49 Fix OSRM directions issues
Don't rely on trailing spaces in translation strings as they
aren't reliably preserved, and make "exit" translatable.

Fixes #915
2015-02-27 17:00:28 +00:00
Tom Hughes
4254a1f291 Cancel any outstanding route when starting a new one
Fixes #913
2015-02-26 18:39:31 +00:00
Peter Karich
7bf86b7c4e GraphHopper directions updates
Add support for roundabouts in directions, update the URL for the
documenation and explicitly excludes elevation data (which requires
a custom polyline decoder) from the results.
2015-02-26 13:25:33 +00:00
Tom Hughes
6d124f8012 Fix some more JSHint issues 2015-02-24 00:30:25 +00:00
Tom Hughes
1596713871 Fix some JSHint complaints 2015-02-23 21:45:57 +00:00
Tom Hughes
6e9a76e64d Avoid mixed content warnings for the MapQuest logo 2015-02-16 21:48:08 +00:00
Tom Hughes
7d32e50e0a Extend https support to all three routing engines 2015-02-01 21:41:06 +00:00
Tom Hughes
8adb0846b4 Update to latest upstream polyline decoder 2015-02-01 15:09:15 +00:00
Tom Hughes
30a39b35e5 Rename directions_engines to directions 2015-02-01 12:58:08 +00:00