first commit -push
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
@foreach (var point in LidarPoints)
|
||||
{
|
||||
<circle cx="@point.X" cy="@point.Y" r="0.05" fill="blue" visibility="@(ShowLaser ? "visible" : "hidden")" />
|
||||
}
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public bool ShowLaser { get; set; }
|
||||
|
||||
private List<NavigationPathNode> LidarPoints { get; set; } = new();
|
||||
|
||||
public void SetData(List<NavigationPathNode> laser)
|
||||
{
|
||||
LidarPoints.Clear();
|
||||
LidarPoints.AddRange(laser);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user