Nicolas Cornu
63fca227ca
Add line segment to each steps of GraphHopper routing
2017-02-16 21:19:55 +01:00
Nicolas Cornu
ffeddd62a8
Fix latLng from GraphHopper engine
...
latLng is an array and not a latLng object
2017-02-16 20:59:42 +01:00
Nicolas Cornu
5401055ce1
Add Ascend/Descend when routing with GraphHopper
2017-02-16 19:52:41 +01:00
Tom Hughes
8376a430b6
Allow context menu to add notes without panning the map
2017-02-12 19:19:14 +00:00
Tom Hughes
e58a5c69d3
Make context menu entries translateable
2017-02-12 19:19:14 +00:00
Tom Hughes
430978fab7
Improve context menu initialisation to avoid namespace pollution
2017-02-12 19:19:13 +00:00
Tom Hughes
043d29fd7e
Merge remote-tracking branch 'openstreetmap/pull/1030' into next
2017-02-12 15:04:50 +00:00
Holger Jeromin
2ed5e97356
Removed duplicate entry for turn straight
2016-11-14 08:57:16 +01:00
Holger Jeromin
c5ca0d3ac5
Fixed typo trun vs turn
2016-11-11 19:30:06 +01:00
Tom Hughes
f6695c9079
Merge remote-tracking branch 'openstreetmap/pull/1344'
2016-10-27 11:51:36 +01:00
Mormegil
caac9a9403
Ensure IE/Edge compatibility for routing drag&drop
...
Use the DataTransfer interface properly, using the `text` format, as
IE/Edge does not support much more. We can JSON-serialize anything
there, even though right now, only a single string would be enough.
Also, IE does not support .setDragImage, so check for support prior
to calling.
Fixes #1343
2016-10-27 12:34:07 +02:00
Simon Legner
94f02270c1
Pan to first Nominatim search result
...
Fixes #919
Closes #1041
2016-08-15 20:58:07 +01:00
Tom Hughes
078dc1a526
Correct icon mappings for non OSRM routers
2016-08-05 18:59:21 +01:00
Patrick Niklaus
311acad0c4
Add support for OSRM 5.0 API and new instruction types
...
Add support for the new API in OSRM 5.x including new icon sprites
for the new instruction types.
2016-08-05 18:55:16 +01:00
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
6c4448b9f6
Increase overpass API timeout
2016-03-20 19:41:15 +00:00
Tom Hughes
a95748b168
Handle overpass errors reported as remarks
...
Not all overpass errors are reported as HTTP errors - some are
reported as HTTP success with a remark in the response.
Fixes #1178
2016-03-20 19:39:51 +00:00
Tom Hughes
945ff7911c
Merge remote-tracking branch 'openstreetmap/pull/954'
2016-03-20 18:47:35 +00: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
16f5a5ac0c
Merge remote-tracking branch 'openstreetmap/pull/954'
2016-03-14 22:11:23 +00:00
Simon Legner
5f495b43d1
Notes: show first comment as marker tooltip
2016-03-14 23:00:45 +01:00
Tom Hughes
6e154d48c0
Ignore bounds on elements with geometry
2016-03-06 21:37:47 +00:00
Tom Hughes
0ff7a928e4
Fix query tool to get correct bounds for enclosing ways
...
The bounding box returned by overpass for geom output is only
the bounds for the clipped geometry, so fetch the geometry and
the bounding box separately and merge them client side.
Fixes #1156
2016-03-06 20:42:04 +00:00
Tom Hughes
e128e78408
Move routing API endpoint addresses to config file
2016-01-11 19:03:47 +00:00
Aditya Prakash
ed151fdb78
Hide .describe_location on push and popstate
2015-11-13 09:41:47 +05:30
Dan Stowell
6b0451124c
Fix missing semicolon warnings
2015-10-12 21:43:00 +01: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
Simon Legner
6d511fbd34
Directions, read "to" location in URL - fixes #998
2015-08-26 21:38:39 +02:00
Simon Legner
20139c08e5
Notes: show first comment as marker tooltip
2015-08-26 20:44:04 +02:00
Dan Stowell
35fbcf2815
Move contextmenu callbacks to separate file
2015-08-19 22:58:20 +01:00
Dan Stowell
81d79f5e16
Simplify new-note marker placement - always in the centre
...
(This removes a tweak added in 40b3c82
, which we believe is
no longer relevant now the new-note dialogue is sidebar
rather than bubble.)
2015-08-09 10:56:22 +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
05caad1a5d
Fix some validation issues
2015-03-16 20:49:14 +00:00
Tom Hughes
6d9d688080
Simplify close icon for routing panel and fix validation error
2015-03-16 20:26:59 +00:00
Tom Hughes
11af851248
Remove duplicate search handlers
...
Fixes #922
2015-03-05 00:34:06 +00:00
Tom Hughes
9ec625e352
Fix typo
...
Fixed #916
2015-02-27 17:02:53 +00: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
Tom Hughes
4b2c64fbed
Set an explicit image when dragging from the routing panel
...
This may help with #912 but at the very least it gives us a full size
image consistent with dragging marker that is already on the map.
2015-02-26 14:06:25 +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
2d22ab10f7
Force coordinates into bounds when using the query tool
2015-02-25 11:16:10 +00:00