[android] restore location layer visibility with new "layer-below"

This commit is contained in:
Łukasz Paczos
2019-01-21 18:34:46 +01:00
committed by Łukasz Paczos
parent 4b254dc994
commit 99e35f0c6e
2 changed files with 24 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ final class LocationLayerController implements MapboxAnimator.OnLayerAnimationsV
if (layerBelow == null || !layerBelow.equals(newLayerBelowOption)) {
removeLayers();
addLayers(newLayerBelowOption);
setRenderMode(renderMode);
}
}