LocationLayerPlugin hidden @5.2.0-beta.1
Hey,
if I have this setup
compile('com.mapbox.mapboxsdk:mapbox-android-sdk:5.2.0-beta.1@aar') {
transitive = true
}
compile 'com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.5'
compile 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.6'
compile('com.mapbox.mapboxsdk:mapbox-android-navigation:0.7.0-SNAPSHOT') {
transitive = true
}
compile('com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.2.0-SNAPSHOT') {
transitive = true
}
I don't really know how to describe this issue well. Therefore I made two screen videos. There a no location updates or other method calls beside setMapboxLocationLayerMode(this, LocationLayerMode.TRACKING) or setMapboxLocationLayerMode(this, LocationLayerMode.NAVIGATION) and a simple camera animation after my button click. If I rotate the mapview, the locationLayerPlugin is hidden at a specific angle to the route.
This issue doesn't occur with mapbox-android-sdk:5.1.4@aar, only with mapbox-android-sdk:@5.2.0-beta.1.
-
LocationLayerMode.NAVIGATION

-
LocationLayerMode.TRACKING

We recently noticed the same, was related to bumping dependencies to 5.2.0-beta.1. The issue will be fixed when components in the dependency section have been updated to 5.2.0. Thank you for the report and using Mapbox!