Add starting road to description

This commit is contained in:
Markus Koch 2020-05-06 14:13:59 +02:00
parent 0fbbd374a7
commit 601e617fe0

View File

@ -257,7 +257,7 @@ int dijkstra_search_route_to_geojson(struct dijkstra_search *search,
relative_direction_str = "straight";
}
if (node_last == search->start)
format_str = "Start here.";
format_str = "Start on %2$s.";
else if (search->states[node_last->uid]->cheapest_path->name == search->states[node->uid]->cheapest_path->name)
format_str = "Stay on %2$s by going %1$s.";
else