Serialize Path for API
This commit is contained in:
parent
ed8558049c
commit
3e23635cd1
@ -12,8 +12,8 @@ public class OsmNode
|
||||
public Coordinates coordinates { get; }
|
||||
|
||||
[JsonIgnore][NonSerialized]public OsmNode? previousPathNode = null;
|
||||
[JsonIgnore][NonSerialized]public double currentPathWeight = double.MaxValue;
|
||||
[JsonIgnore][NonSerialized]public double currentPathLength = double.MaxValue;
|
||||
[JsonInclude][NonSerialized]public double currentPathWeight = double.MaxValue;
|
||||
[JsonInclude][NonSerialized]public double currentPathLength = double.MaxValue;
|
||||
[JsonIgnore][NonSerialized]public double directDistanceToGoal = double.MaxValue;
|
||||
|
||||
[OnDeserialized]
|
||||
|
Loading…
Reference in New Issue
Block a user