nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 699 forks source link

showsUserHeadingIndicator not changing direction on android #1690

Open SalihZinaty opened 3 years ago

SalihZinaty commented 3 years ago

Hi, I'm using this prop to show the directional arrow. on iOS it works fine. but in android, the arrow doesn't move when I change the phone orientation.

<MapboxGL.UserLocation showsUserHeadingIndicator={true} visible={true} onUpdate={(location) => this.onAutoZoomUpdate(location)} />

is this a bug?

JetPlaneJJ commented 2 years ago

I have the same issue, the heading always seems to point north for some reason