MockLocationEngine and setLocationSource
Hey, I'm using your pretty cool MockLocationEngine from the demo project. I noticed that the myLocationEnabled state is resettet after the LocationEngine is set (@ mapbox-android-navigation:0.2.0).
If I use only this code, the myLocation-Dot at the map doesn't move (even if I had set myLocationEnabled to true and MyLocationTracking.TRACKING_FOLLOW).
mapboxMap.setLocationSource(mockLocationEngine);
With the additional line
mapboxMap.setMyLocationEnabled(true);
everything work well.
But: In both cases the onMyLocationChange-Listener receives the update from MockLocationEngine
Hi, I'm not sure to understand your problem but it seems to be coming from the Map SDK, so it's not related to this repository but more to this one. Thanks!
I'm not sure I understand your issue, but I have a setup using both the Mapbox Map, Mock location, and Navigation SDK here. Closing issue but if you still are having issues, happy to help.