Commit graph

1012 commits

Author SHA1 Message Date
Tom Hughes
f9eccfe64f Use bolded version of destinations 2018-02-25 21:29:54 +00:00
Tom Hughes
d8eda6ba03 Show exit numbers for off ramps in OSRM directions
Fixes #1768
2018-02-25 20:51:11 +00:00
Jamie Guthrie
58a0184fc0 Fix route path 'hovering' when marker positions are changed
Closes #1755
2018-02-15 17:58:59 +00:00
Jamie Guthrie
4a9f20a485 Fix directions for roundabout without exit number
Closes #1756
2018-02-15 17:53:54 +00:00
Tom Hughes
aafb1db2be Avoid relying on global state to detect when we are dragging
We can't guarantee what order getRoute calls will finish in so
relying on global state is dangerous - capture it in the closure
instead so that each route knows what it is doing.
2018-02-14 17:58:01 +00:00
Tom Hughes
20e4909230 Stop map zooming out after dropping marker
Closes #1751
2018-02-14 17:53:33 +00:00
Jamie Guthrie
93d94bb1f9 Correctly swap from and to values when reversing directions
Closes #1752
Fixes #1748
2018-02-14 17:22:39 +00:00
Jamie Guthrie
161ce947c3 Improve OSRM directions for on and off ramps
Try and show both the name of the road being turned on to and the
destination depending on what is available.

Closes #1740
2018-02-13 17:32:57 +00:00
Jamie Guthrie
97f75e82c0 Add padding to directions popups
Clicking on a direction step now pans to the popup, but includes some
padding so that the popup is not hidden in the corner of the screen.

Closes #1745
2018-02-13 17:25:56 +00:00
Jamie Guthrie
c12ed85233 Use both name and ref when naming roads in directions
Closes #1741
2018-02-12 20:12:57 +00:00
Tom Hughes
ab926ef4e6 Use correct class to disable zoom buttons
Fixes #1365
2018-02-09 18:50:31 +00:00
Tom Hughes
83d97699cc Use configured server protocol for shared URLs
Closes #939
2018-02-05 21:03:45 +00:00
Tom Hughes
609cedc499 Allow lat/lon from the URL to take precedence when routing 2018-02-03 16:39:39 +00:00
Tom Hughes
aea57cdfc3 Go through the router when reversing directions 2018-02-03 16:21:35 +00:00
Tom Hughes
9d2f920feb Merge remote-tracking branch 'upstream/pull/1693' 2018-02-03 16:12:51 +00:00
Tom Hughes
9cf698322c Merge remote-tracking branch 'upstream/pull/1707' 2018-01-13 10:35:42 +00:00
Tom Hughes
256460a2d9 Fix jshint warning 2018-01-08 20:30:51 +00:00
Tom Hughes
be86e4824f Convert various URLs to https 2018-01-08 20:18:21 +00:00
Tom Hughes
af1397436f Use https for nominatim 2018-01-08 10:50:44 +00:00
Tom Hughes
9340c46173 Remove dependencies on mapzen services 2018-01-02 18:45:20 +00:00
J Guthrie
7a933cf928 Added 'Reverse Directions' link
Added a text link that reverses the directions of the planned route
2017-12-17 01:09:09 +00:00
Guillaume RISCHARD
ca36cf2826 Remove support for soon discontinued josm remote https endpoint 2017-12-16 16:15:52 +01:00
Tom Hughes
a3519348c6 Remove inline javascript from user settings page 2017-11-24 16:20:50 +00:00
Tom Hughes
e813a31d7a Make context menu use from/to for directions
This ensures that the router will try to geocode the values rather
than assuming that they are latitude/longitude pairs.

Fixes #1684
2017-11-19 19:49:39 +00:00
Bryan Housel
2168c2867c Add iD disable_features parameter 2017-11-10 15:57:37 -05:00
Tom Hughes
5846e39a36 Disable keyboard controls for layer switcher maps
Fixes #1673
2017-11-09 14:29:17 +00:00
Tom Hughes
7346c5a024 Update site to use jQuery 3 2017-11-03 20:40:48 +00:00
Holger Jeromin
2a21c82185 Removes DOM difference in location button (main map) 2017-10-18 19:51:05 +02:00
Holger Jeromin
833579778a Removes DOM difference in location button 2017-10-18 15:05:11 +02:00
Tom Hughes
47d33ed98e Defer measuring of header elements to a timeout
Chrome 60 and later seem to fire the "ready" callback before the DOM is
fully ready causing us to measure the wrong sizes for the header elements
so we use a 0ms timeout to defer the measurement slightly as a workaround.

Fixes #1639
2017-09-14 20:30:38 +01:00
Bryan Housel
8d2acb8ef0 Add iD hashtags parameter 2017-08-25 16:24:19 -04:00
mmd-osm
7fd1e55938 Discard empty ways from query result geometries
Fixes #1608
2017-08-10 19:49:50 +01:00
Bryan Housel
3ab39f48ba Add iD walkthrough autostart parameter 2017-07-07 17:58:02 -04:00
Peter Karich
0531091fd1 Include car profile for GraphHopper routing
Closes #1547
2017-05-24 21:17:22 +01:00
Tom Hughes
6e5240e198 Merge remote-tracking branch 'openstreetmap/pull/1521' 2017-05-17 20:37:01 +01:00
Tom Hughes
cb79ce2833 Parse asset map JSON before passing it to iD 2017-05-10 09:14:09 +01:00
Dan Stowell
5f35d37fee Remember user's choice of directions engine 2017-04-11 19:42:37 +01:00
Andy Allan
4afedb07a2 Update mapzen directions credit link
Rather than pointing at a redirect, point at the target of the
redirect. Refs #1388
2017-03-30 15:18:16 +01:00
Tom Hughes
b954416a70 Merge remote-tracking branch 'openstreetmap/pull/1437' 2017-03-05 10:34:23 +00:00
Tom Hughes
d3b9987bb8 Silence remaining jshint warnings 2017-03-02 10:44:18 +00:00
Tom Hughes
427f5457d9 Fix some jshint warnings 2017-03-02 10:20:51 +00:00
Tom Hughes
d7b4f88d5e Remove inline javascript from page header 2017-03-01 21:19:32 +00:00
Tom Hughes
293fb99467 Remove inline javascript from id views 2017-03-01 18:07:22 +00:00
Tom Hughes
fe159b2417 Correct name of zoom argument for Potlatch 2
Fixes #1471
2017-03-01 14:06:05 +00:00
Tom Hughes
1b21b8a209 Remove inline javascript from potlatch2 view 2017-03-01 00:12:42 +00:00
Tom Hughes
8c3d16ecc4 Remove inline javascript from potlatch view 2017-02-28 20:41:22 +00:00
Tom Hughes
d13348c0ea Remove inline javascript from user views 2017-02-27 22:51:03 +00:00
Tom Hughes
8db0548119 Remove explicit context menu width
Firefox and Chromium at least seem to autosize correctly based
on the actual text in use for a given locale.
2017-02-25 10:57:00 +00:00
Tom Hughes
4b43396ede Rename 'clickable' to 'interactive' per leaflet 1.x change 2017-02-24 23:10:12 +00:00
Tom Hughes
ad0e829fc7 Enable context menu on mouse down with no shift pressed 2017-02-21 09:16:38 +00:00