-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Location tracking doesn't work #8428
Comments
That's strange, I filed this because on my app I tried using beta 3 (which
Gradle resolved) and for about 5 hours couldn't get tracking to work. If I
set a breaking point on MyLocationView's setter for the location I only see
it get called as a result of it registering itself as a listener to the
LocationEngine. No follow-up location updates come in. I replicate it by
doing the same thing, getting an instance of the LocationEngine from
LocationSource, activating it in onCreate, then adding/removing an update
listener in onResume/onPause respectively. What I see is that I get 2 calls
to the listener when I set it, then never again. This was the same in beta
2 and is consistent with what I see in the demo app.
…On Thu, Mar 16, 2017, 03:58 Tobrun ***@***.***> wrote:
Closed #8428 <#8428>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8428 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJF_-mYQ98fqvZZD9EAiLG6ZP_Wz4-pJks5rmOuXgaJpZM4MefUI>
.
|
Thank you for adding that information, |
Confirmed that we only receive |
Been debugging this on the SDK side and even after specifically requesting for location updates we are not receiving them. I tested the LocationEngine feature in mapbox-java and seeing the same behavior there. Going to create an issue upstream. |
Issue created upstream in mapbox/mapbox-java#392 |
Nice! Will this be in beta 4? |
this will be in the next release, merged with #8445 |
I never receive the onLocationChanged events when I change location. I copied and pasted the code from the example, I only get the lastLocation at the beginning. What could it be? |
Platform: Android 7.1.2 on Nexus 5x
Mapbox SDK version: 5.0.0-beta.3
Steps to trigger behavior
Expected behavior
The my location marker should be visible and the map should follow it
Actual behavior
I find myself in the middle of Africa (I'm not actually there)
The text was updated successfully, but these errors were encountered: