Skip to content

Commit

Permalink
Merge pull request #3455 from ProjectSidewalk/3341-custom-route-audit…
Browse files Browse the repository at this point in the history
…ing-arrow-error

Added extra null checking for next mission to solve navigation system error for custom routes
  • Loading branch information
misaugstad authored Jan 11, 2024
2 parents 769f0f8 + d8e888f commit 5e10b2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ function MapService (canvas, neighborhoodModel, uiMap, params) {
svl.compass.showLabelBeforeJumpMessage();
status.jumpMsgShown = true

} else if (distance > 0.07) {
} else if (distance > 0.07 && !svl.neighborhoodModel.isRouteOrNeighborhoodComplete()) {
// Jump to the new location if it's really far away from their location.
svl.tracker.push('LabelBeforeJump_AutoJump');

Expand Down

0 comments on commit 5e10b2f

Please sign in to comment.