Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
844e869071
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue