Skip to content

Commit

Permalink
fix nav vector display when anchor is dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Nov 17, 2024
1 parent a883e6a commit 5204333
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app/modules/map/fb-map.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@
}

<!-- Vessel / destination -->
@if(dfeat.navData.startPosition && dfeat.navData.position &&
app.data.anchor.raised) {
@if (app.data.anchor.raised && dfeat.navData.position) {
@if(dfeat.navData.startPosition) {
<fb-xte-path
[color]=""
[lineCoords]="vesselLines.xtePath"
Expand All @@ -532,7 +532,7 @@
[layerProperties]=""
>
</fb-xte-path>
} @if(dfeat.navData.position && app.config.selections.vessel.laylines) {
} @if(app.config.selections.vessel.laylines) {
<fb-target-angle
[line]="vesselLines.targetAngle"
[lineStyle]="featureStyles.targetAngle"
Expand All @@ -551,7 +551,7 @@
[zIndex]="212"
>
</fb-layline>
} @if(dfeat.navData.position && app.data.anchor.raised) {
}
<fb-bearing-line
[marker]="dfeat.navData.position"
[lineCoords]="vesselLines.bearing"
Expand All @@ -563,14 +563,14 @@
[zIndex]="212"
>
</fb-bearing-line>
} @if(app.data.navData.arrivalCircle && dfeat.navData.position) {
@if(app.data.navData.arrivalCircle) {
<fb-arrival-circle
[radius]="app.data.navData.arrivalCircle"
[position]="dfeat.navData.position"
[zIndex]="212"
>
</fb-arrival-circle>
}
} }

<!-- Vessel (self) -->
<fb-vessel
Expand Down

0 comments on commit 5204333

Please sign in to comment.