Exposing the current bearing makes it possible to rotate a marker on a map according to the current point of view.
The bearing value is relevant for panoramas as well as perspective images and should be exposed always.
Currently the direction component does the calculations necessary to retrieve the bearing. This code should be moved to the state and handled correctly. The bearing should be exposed as an observable/event on the viewer.
The edge data currently contains a property called worldMotionAzimuth. Potentially the name and calculations for that one should be changed.
Exposing the current bearing makes it possible to rotate a marker on a map according to the current point of view.
The bearing value is relevant for panoramas as well as perspective images and should be exposed always.
Currently the direction component does the calculations necessary to retrieve the bearing. This code should be moved to the state and handled correctly. The bearing should be exposed as an observable/event on the viewer.
The edge data currently contains a property called worldMotionAzimuth. Potentially the name and calculations for that one should be changed.