nitaliano / react-native-mapbox-gl

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

showsUserHeadingIndicator not changing direction on android #1690

Open SalihZinaty opened 4 years ago

SalihZinaty commented 4 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 3 years ago

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