I am trying to find the bearing of the user in mapbox gl js and detect any change in it. In other words the direction which the user is facing in mapbox gl js and also if he chenges his direction. But I couldn't find much on this topic apart from this with some of its links not working and other being cordova specific solutions.
I am looking for a approach involving android webview and js for my solution. There are very few examples that I have been able to find regarding this.
Can anyone help me out here with anything on this please?
Edit
I am trying to find user's bearing, without using markers on the screen.