diff --git a/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java b/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java index e4afceea53..92506eff5e 100644 --- a/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java +++ b/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java @@ -116,7 +116,7 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin { if(!Algorithms.objectEquals(overlay, layer.getMap())){ if(overlay == null){ mapView.removeLayer(layer); - } else { + } else if (mapView.getMapRenderer() == null) { mapView.addLayer(layer, layerOrder); } layer.setMap(overlay);