Commit graph

377 commits

Author SHA1 Message Date
Tom Hughes
a9b00e16e7 Merge remote-tracking branch 'upstream/pull/2695' 2020-07-16 19:30:55 +01:00
Andy Allan
0c098c3a1d Convert data feature warning to use bootstrap alert
Also rearrange dialog to fit with standard sidebar layouts, so that
the close icon and load buttons are not within the paragraph.

There may be a better way to construct this!
2020-07-15 19:34:19 +02:00
Simon Poole
85cb71702e
Tuen on turn restriction support for graphhopper
No way of actually testing if this works, but it is based on https://docs.graphhopper.com/#operation/getRoute/parameters/point and https://www.graphhopper.com/blog/2020/07/08/turn-restriction-support-for-graphhoppers-directions-api/
2020-07-08 16:04:11 +02:00
Tom Hughes
e89742928d Merge remote-tracking branch 'upstream/pull/2548' 2020-03-18 20:15:06 +00:00
Tom Hughes
75d1893343 Fix eslint warnings 2020-02-29 17:52:55 +00:00
Tom Hughes
0f3856fd1c Fix highlight of changesets with no bounding box
A changeset with no bounding box has no map layer so trying to
set it's style throws an exception which means we don't get to
the code to set the style on the list entry.

Fixes #2541
2020-02-29 17:43:19 +00:00
Holger Jeromin
c70e919b47
rename internal variable 2020-02-26 20:27:52 +01:00
Holger Jeromin
c094cc1933
further linting stuff 2020-01-26 11:26:58 +01:00
Holger Jeromin
f9ab67577f
fixing linting 2020-01-26 11:22:50 +01:00
Holger Jeromin
a32f4c231e
Prevent exceptions while reversing directions 2020-01-26 11:01:45 +01:00
Andy Allan
a3795cddbb Move the search results to use list-group-flush 2020-01-16 12:39:13 +01:00
Andy Allan
397d30c4e9 Add query-result classes for errors and nothing_found messages 2020-01-16 11:18:06 +01:00
Andy Allan
712e67ed4a Refactor the query results to use bootstrap list-group-flush 2020-01-08 16:00:18 +01:00
mmd-osm
549be4adba Overpass query to use map precision 2019-08-21 10:13:41 +02:00
marc tobias
61faea262a Pass viewbox to Nominatim when geocoding routing endpoints
Fixes #2327
Closes #2328
2019-07-25 19:24:36 +01:00
Tom Hughes
6dd451c7ee Stop creating a shared global querystring variable 2019-07-15 20:28:54 +01:00
Tom Hughes
a47c0a4411 Update querystring references 2019-07-15 10:03:09 +01:00
Tom Hughes
492a640530 Enable a few more eslint checks 2019-07-14 12:08:02 +01:00
Tom Hughes
c4c0e8105a Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
87127d41e9 Enable some more eslint rules from iD rules 2019-04-06 15:48:51 +01:00
Tom Hughes
1f13321a60 Fix issues found by eslint 2019-04-01 22:03:39 +01:00
Tom Hughes
48e886784e Change default directions engine to fossgis_osrm_car
Also handle old cookies and URLs that ask for engines that
are no longer available.
2019-01-29 20:19:36 +00:00
Simon Poole
26102f581f Remove old MapQuest Directions routing support 2019-01-29 20:19:36 +00:00
Simon Poole
067290f19f Remove old OSRM routing support 2019-01-29 20:19:36 +00:00
Simon Poole
8937099429 Add support for FOSSGIS routing server 2019-01-29 20:19:36 +00:00
Tom Hughes
4b0fed0aa4 Replace custom panning with new panInside leaflet method 2019-01-02 11:03:06 +00:00
Tom Hughes
efd50cd529 Merge remote-tracking branch 'upstream/pull/2009' 2018-11-04 14:50:14 +00:00
J Guthrie
d5e6acaace On hover, change border to a subtle darker orange, increase strokeWidth 2018-11-02 01:23:37 +00:00
Tom Hughes
6b194ed627 Resize change bounding boxes on a zoom change 2018-10-14 12:28:26 +01:00
Tom Hughes
091818da5d Adjust minimum changeset bbox to 20 pixels 2018-10-11 18:52:00 +01:00
Tom Hughes
bdcc33ae7f Improve variable naming 2018-10-11 18:51:45 +01:00
J Guthrie
31c4461766 Converted to dot notation - fixes jshint 2018-10-07 00:52:11 +01:00
J Guthrie
e976f316b7 Convert degrees min-width to pixels min-width 2018-10-07 00:33:54 +01:00
Tom Hughes
b13b63b65c Improve formatting 2018-10-03 22:39:27 +01:00
J Guthrie
cf896fa0a7 Updated min bounds algorithm 2018-10-03 22:07:20 +01:00
J Guthrie
9bf489a0b9 Changeset boundary is enlarged if it was on a single point 2018-10-02 23:56:42 +01:00
J Guthrie
aae0d3b7b5 Changeset border turns blue on hover 2018-10-02 23:41:24 +01:00
Ilya Zverev
67925e6d98 Do not display two coordinates on 'where am I' click
Closes #1968
2018-09-03 17:46:26 +01:00
Tom Hughes
e9abea3dd7 Avoid some accidental manouver type matches 2018-08-13 17:13:26 +01:00
Peter Karich
1cea6b363a Use XHR instead of jsonp for GraphHopper
Closes #1872
2018-05-17 20:47:58 +01:00
Tom Hughes
64f3a1a947 Fix translation lookups for roundabout exits 2018-04-30 23:01:08 +01:00
Tom Hughes
91c30d3a8c Avoid using "one" and "two" as translation keys 2018-04-30 22:38:43 +01:00
Tom Hughes
69ff048ae1 Merge remote-tracking branch 'upstream/pull/1802' 2018-04-30 18:56:09 +01:00
Tom Hughes
1ecf146766 Add terminating semicolon to overpass query
Fixes #1843
2018-04-30 18:54:31 +01:00
J Guthrie
e833ef6315 Separated ordinal roundabout exit text from normal exit text 2018-04-29 21:59:54 +01:00
J Guthrie
e0b175d3bd Merge branch 'convert_roundabout_exits' of https://github.com/jguthrie100/openstreetmap-website into convert_roundabout_exits 2018-04-29 21:44:26 +01:00
J Guthrie
9efa2c7b92 Change roundabout exit logic and remove blank string from locale file 2018-04-29 20:30:44 +01:00
Jamie Guthrie
76bc5eba06
Merge branch 'master' into convert_roundabout_exits 2018-04-29 19:53:57 +01:00