aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Services/ShapeTraversalService.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-04-04 17:26:20 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2026-04-04 17:35:34 +0200
commit73a52022d549ee3b401cea938f40321702c52b2b (patch)
treec1fd67df2afe71262a95dc1eb39625014920f6fd /src/Enmarcha.Backend/Services/ShapeTraversalService.cs
parentc558c8b6134df3b65d984430b58cffa26eb0b297 (diff)
Update marker design for positions without bearing
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);
}