summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2019-04-24 13:19:31 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-04-24 14:24:23 +0200
commit50483cafa6fa4a2f5bc863020a0aad3d70ba2d0a (patch)
tree3b63605ddcb09b45579c8d56c52154fc0d15fff6 /platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java
parenta67b3fc759d5a9ee0387d39719ed4b44f571c927 (diff)
downloadqtlocation-mapboxgl-50483cafa6fa4a2f5bc863020a0aad3d70ba2d0a.tar.gz
[android] clear up LocationComponent's z-index positioning docs and add "layer-above" option
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt
index fb450de527..95a3891b6d 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationLayerControllerTest.kt
@@ -284,8 +284,7 @@ class LocationLayerControllerTest : EspressoTest() {
TestingAsyncUtils.waitForLayer(uiController, mapView)
assertThat(mapboxMap.queryRenderedFeatures(location, FOREGROUND_LAYER).isEmpty(), `is`(true))
- val options =
- LocationComponentOptions.createFromAttributes(context, com.mapbox.mapboxsdk.testapp.R.style.CustomLocationComponent)
+ val options = component.locationComponentOptions
.toBuilder()
.layerBelow("road-label")
.build()