I tried to use computeHeading() provided by google, but I got the following error. I am getting the head between each path using overview_path. The
computeHeading()
overview_path