Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1cad7c180c
1 changed files with 8 additions and 0 deletions
|
@ -304,6 +304,14 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin {
|
|||
}
|
||||
};
|
||||
|
||||
if (overlayLayer.getMap() == null) {
|
||||
settings.MAP_OVERLAY.set(null);
|
||||
settings.MAP_OVERLAY_PREVIOUS.set(null);
|
||||
}
|
||||
if (underlayLayer.getMap() == null) {
|
||||
settings.MAP_UNDERLAY.set(null);
|
||||
settings.MAP_UNDERLAY_PREVIOUS.set(null);
|
||||
}
|
||||
String overlayMapDescr = settings.MAP_OVERLAY.get();
|
||||
boolean hasOverlayDescription = overlayMapDescr != null;
|
||||
overlayMapDescr = hasOverlayDescription ? overlayMapDescr : mapActivity.getString(R.string.shared_string_none);
|
||||
|
|
Loading…
Reference in a new issue