mapbox-gl-native-android
mapbox-gl-native-android copied to clipboard
Suggestion: make LocationComponentCompassEngine public
In the react-native-mapbox-gl project, the heading of a user location is incorrectly reporting the course/bearing value for Android (see issue https://github.com/react-native-mapbox-gl/maps/issues/1213 for background info).
To fix this bug in react-native-mapbox-gl, we would need to get the heading value from this native Android mapbox project.
The heading is available in the LocationComponentCompassEngine class but this is private so not accessible for the react-native-mapbox-gl project to use.
It would be great if LocationComponentCompassEngine could be made public so that in react-native-mapbox-gl we could just create a new instance of LocationComponentCompassEngine. This would prevent code duplication and ensure that it stays up to date with the implementation from this project.
Let me know what your thoughts are on this.
Same issue for us. Makes Android location bearing unusable in our various projects.
Same here. Would be great if you could tackle this!
@tobrun what are your thoughts on this?
@tobrun what are your thoughts on this?
We are currently focusing on v10.0.0 development in:
- https://github.com/mapbox/mapbox-maps-android
v9 is still being maintained and we happily expect pull request for it.