react-native-mapbox-gl provides a UserLocation component to display the location of the user via builtin Geolocation tracking: https://github.com/react-native-mapbox-gl/maps/blob/master/docs/UserLocation.md
However I would like to leverage all the animation, rendering and bearing aspects, etc. of this component BUT with my own position data (at least longitude, latitude and heading/bearing).
I do not see this currently as possible or mentioned in the documentation of their repo. Is it possible?
It seems to be possible in the underlying Android documentation: https://docs.mapbox.com/android/maps/api/9.6.1/index.html / LocationComponent:
...You can also push location updates to the component without any internal engine management.
To achieve that, use activateLocationComponent(Context, Style, boolean) with false.
No engine is going to be initialized and you can push location updates with forceLocationUpdate(Location).
...