Expose pronunciation in RouteStep

Uses name:pronunciation by default for cars.
This commit is contained in:
Patrick Niklaus
2016-05-26 03:35:38 +02:00
parent 9cdc9008aa
commit 0a53775fb3
17 changed files with 76 additions and 9 deletions
+2
View File
@@ -31,6 +31,7 @@ struct ExtractionWay
is_startpoint = true;
is_access_restricted = false;
name.clear();
pronunciation.clear();
forward_travel_mode = TRAVEL_MODE_INACCESSIBLE;
backward_travel_mode = TRAVEL_MODE_INACCESSIBLE;
}
@@ -46,6 +47,7 @@ struct ExtractionWay
double backward_speed;
double duration;
std::string name;
std::string pronunciation;
bool roundabout;
bool is_access_restricted;
bool is_startpoint;