mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
fix the turn restriction editor not supporting bidirectional roads (#10800)
This commit is contained in:
@@ -60,6 +60,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
|
||||
#### :bug: Bugfixes
|
||||
* Prevent degenerate ways caused by deleting a corner of a triangle ([#10003], thanks [@k-yle])
|
||||
* Fix briefly disappearing data layer during background layer tile layer switching transition ([#10748])
|
||||
* Fix the turn restriction editor not supporting bidirectional roads ([#10731], thanks [@k-yle])
|
||||
* Preserve imagery offset during tile layer switching transition ([#10748])
|
||||
* Fix the relation membership list using a non-deterministic order ([#10648], thanks [@k-yle])
|
||||
* Fix over-saturated map tiles near the border of the tile service's coverage area ([#10747], thanks [@hlfan])
|
||||
@@ -88,6 +89,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
|
||||
[#10720]: https://github.com/openstreetmap/iD/issues/10720
|
||||
[#10722]: https://github.com/openstreetmap/iD/pull/10722
|
||||
[#10727]: https://github.com/openstreetmap/iD/issues/10727
|
||||
[#10731]: https://github.com/openstreetmap/iD/pull/10731
|
||||
[#10737]: https://github.com/openstreetmap/iD/pull/10737
|
||||
[#10747]: https://github.com/openstreetmap/iD/issues/10747
|
||||
[#10748]: https://github.com/openstreetmap/iD/issues/10748
|
||||
|
||||
@@ -211,7 +211,8 @@ export function osmIntersection(graph, startVertexId, maxDistance) {
|
||||
// walking the intersection graph later and rendering turn arrows.
|
||||
|
||||
function withMetadata(way, vertexIds) {
|
||||
var __oneWay = way.isOneWay();
|
||||
// bidirectional ways are two-way from an intersection's perspective
|
||||
var __oneWay = way.isOneWay() && !way.isBiDirectional();
|
||||
|
||||
// which affixes are key vertices?
|
||||
var __first = (vertexIds.indexOf(way.first()) !== -1);
|
||||
|
||||
Reference in New Issue
Block a user