Fix hillshade layer appearance

This commit is contained in:
Victor Shcherb 2013-04-07 21:18:41 +02:00
parent 3d8f44f756
commit 7085f13d93

View file

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