Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-02-10 14:55:05 +01:00
commit 844e869071

View file

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