migrated out of edge based graph factory

This commit is contained in:
Moritz Kobitzsch
2016-02-25 14:40:26 +01:00
committed by Patrick Niklaus
parent 6605f293b4
commit daf2bbf991
9 changed files with 975 additions and 843 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ util::json::Object makeStepManeuver(const guidance::StepManeuver &maneuver)
{
util::json::Object step_maneuver;
step_maneuver.values["type"] = detail::instructionTypeToString(maneuver.instruction.type);
if( isValidModifier( maneuver.instruction.type, maneuver.instruction.direction_modifier )
if( isValidModifier( maneuver.instruction.type, maneuver.instruction.direction_modifier ) )
step_maneuver.values["modifier"] =
detail::instructionModifierToString(maneuver.instruction.direction_modifier);
step_maneuver.values["location"] = detail::coordinateToLonLat(maneuver.location);