[android] clear up LocationComponent's z-index positioning docs and add "layer-above" option

This commit is contained in:
Łukasz Paczos
2019-04-24 13:19:31 +02:00
committed by Łukasz Paczos
parent a67b3fc759
commit 50483cafa6
11 changed files with 418 additions and 135 deletions

View File

@@ -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()