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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ansible warning on jinja2 braces on when -