Refactor sonar display to line path