android - How do you get the correct heading for Street View Image API after retrieving steps from Directions API? -


after retrieving steps directions api plan show street view image each step. not able correct heading passed street view image api.

what did far: 1. retrieve response directions api 2. retrieve steps getting route > leg > steps

i aware of maps utility computeheading through sphericalutil.computeheading(latlngstart, latlngend) not know coordinates pass it. should decoding points polyline field? or should start , end coordinates of step sufficient?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -