update Thrift API to return headings and distances of edge matches.