Fix hillshade layer appearance
This commit is contained in:
parent
3d8f44f756
commit
7085f13d93
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ public class SRTMPlugin extends OsmandPlugin {
|
||||||
} else {
|
} else {
|
||||||
if (hillshadeLayer != null) {
|
if (hillshadeLayer != null) {
|
||||||
mapView.removeLayer(hillshadeLayer);
|
mapView.removeLayer(hillshadeLayer);
|
||||||
|
hillshadeLayer = null;
|
||||||
activity.refreshMap();
|
activity.refreshMap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue