allows front map to display flat line routes with dynamic input