diff --git a/routing_algorithms/map_matching.hpp b/routing_algorithms/map_matching.hpp index 9ea4fd763..0f2cc0c0c 100644 --- a/routing_algorithms/map_matching.hpp +++ b/routing_algorithms/map_matching.hpp @@ -279,6 +279,8 @@ template class MapMatching final { JSON::Object _debug_state; _debug_state.values["transitions"] = JSON::Array(); + _debug_state.values["coordinate"] = makeJSONArray(l[i].first.location.lat / COORDINATE_PRECISION, + l[i].first.location.lon / COORDINATE_PRECISION); _debug_timestamps.values.push_back(_debug_state); } _debug_states.values.push_back(_debug_timestamps);