Commit graph

1149 commits

Author SHA1 Message Date
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
Tom Hughes
1a66467ef6 Avoid flickering welcome banner
Make the welcome banner default to being hidden and then show
it (by adding a class) if there is no cookie.

Fixes #1951
2018-09-10 21:21:43 +01:00
Tom Hughes
a7cdb0298d Limit map to the maximum zoom of the current base layer
Fix maximum zoom levels for various layers and ensure that the
map can't be zoomed beyond the limit of the current base layer.

Fixes #1978
2018-09-10 20:37:36 +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
32a400c5af Only include embed related messages in the embed javascript 2018-08-28 18:02:32 +01:00
Tom Hughes
ed82d0a756 Only fetch client side translations for the current locale 2018-08-16 12:22:36 +01:00
Tom Hughes
e9abea3dd7 Avoid some accidental manouver type matches 2018-08-13 17:13:26 +01:00
Tom Hughes
4a6779abf7 Avoid using inline javascript to update message list 2018-05-30 15:30:23 +01:00
Benoît
e1f37fcc84 Improve HOT layer attribution
The style is by HOT and the server is provided by OpenStreetMap France.

Closes #1882
2018-05-25 10:22:56 +01:00
Peter Karich
1cea6b363a Use XHR instead of jsonp for GraphHopper
Closes #1872
2018-05-17 20:47:58 +01:00
Tom Hughes
50f85248db Use https to launch the remote editor except for modern browsers
Currently only Chrome 53+ and Firefox 55+ are known to support loading
of http resources from localhost for an https page.
2018-05-15 14:21:09 +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
J Guthrie
4330dcdf94 Added exit counts as seperate keys in locale file 2018-04-26 00:43:01 +01:00
Bryan Housel
4399cc793f Allow changeset source tag to be settable via url api
(see https://github.com/openstreetmap/iD/issues/4899)
2018-04-16 14:49:46 -04:00
J Guthrie
606c0adf29 Remove error class when right-click-selecting destination 2018-04-15 18:05:25 +01:00
Tom Hughes
be35dda9c3 Merge remote-tracking branch 'upstream/pull/1804' 2018-04-02 15:41:35 +01:00
Tom Hughes
7e6e1dfbaf Tweak highlighting of geolocation errors 2018-04-02 15:24:03 +01:00
J Guthrie
65ceb77eab Added autoPan for Directions markers 2018-03-31 22:18:25 +01:00
J Guthrie
4b4449f724 Converted roundabouts to take "1st, 2nd, 3rd" exit etc 2018-03-31 18:22:56 +01:00
J Guthrie
efd17cfbe9 Moved inline styling to stylesheet 2018-03-29 22:48:39 +01:00
J Guthrie
becccea034 Remove/replace redundant no_place locale translation 2018-03-29 22:27:33 +01:00
J Guthrie
1bb52e3cb6 Unlocateable place now highlighted in red and specified in error message
The textbox containing the unlocateable place gets highlighted in red
Also added a new locale value to specify an error for a specific place
2018-03-29 21:02:42 +01:00
Štefan Baebler
26b47fdd18 Fix warning: 'value', 'index' is defined but never used. 2018-03-20 01:52:54 +01:00
Štefan Baebler
15ea756ae6 Cleanup leftover console log 2018-03-20 01:39:37 +01:00
Štefan Baebler
aa39179777 Using javascript and data attribute instead of inline css 2018-03-20 01:37:18 +01:00
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