aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Services/ShapeTraversalService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Enmarcha.Backend/Services/ShapeTraversalService.cs')
-rw-r--r--src/Enmarcha.Backend/Services/ShapeTraversalService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Enmarcha.Backend/Services/ShapeTraversalService.cs b/src/Enmarcha.Backend/Services/ShapeTraversalService.cs
index 10de3e0..b89af1f 100644
--- a/src/Enmarcha.Backend/Services/ShapeTraversalService.cs
+++ b/src/Enmarcha.Backend/Services/ShapeTraversalService.cs
@@ -115,7 +115,7 @@ public class ShapeTraversalService
// Transform from EPSG:25829 (meters) to EPSG:4326 (lat/lng)
var pos = TransformToLatLng(busPoint);
- pos.OrientationDegrees = (int)Math.Round(bearing);
+ pos.Bearing = (int)Math.Round(bearing);
pos.ShapeIndex = forwardIndex;
return (pos, closestPointIndex);
}