Fix missing contour lines
This commit is contained in:
parent
3f0fd03fda
commit
227c9ff45e
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
|
||||||
cachedSRTMFiles = new ArrayList<SrtmIndexItem>();
|
cachedSRTMFiles = new ArrayList<SrtmIndexItem>();
|
||||||
List<RegionCountry> countries = RegionRegistry.getRegionRegistry().getCountries();
|
List<RegionCountry> countries = RegionRegistry.getRegionRegistry().getCountries();
|
||||||
for (RegionCountry rc : countries) {
|
for (RegionCountry rc : countries) {
|
||||||
if (rc.tiles.size() > 35) {
|
if (rc.tiles.size() > 35 && rc.getSubRegions().size() > 0) {
|
||||||
for (RegionCountry ch : rc.getSubRegions()) {
|
for (RegionCountry ch : rc.getSubRegions()) {
|
||||||
cachedSRTMFiles.add(new SrtmIndexItem(ch, indexFileNames));
|
cachedSRTMFiles.add(new SrtmIndexItem(ch, indexFileNames));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue