Fix getSelectedRouteCoordinates method

Instead of returning the coordinates per legs and per
steps, they are returned per legs only, i.e. all
coordinates of the steps are merged on the leg level.