Show directions between 2 locations and refactored maps code