Use 4 spaces indentation
Code style
Change route features visibility instance of add/remove the feature.

To fix the issue that the temporary route sometimes steal be visible
after adding an intermediate way point.