implement moreDetail switch (6)
This commit is contained in:
parent
8977d0ab19
commit
215c921d05
1 changed files with 2 additions and 1 deletions
|
@ -356,6 +356,7 @@ public class MapRenderRepositories {
|
|||
OsmandApplication app = ((OsmandApplication)context.getApplicationContext());
|
||||
Boolean renderDay = app.getDaynightHelper().getDayNightRenderer();
|
||||
boolean nightMode = renderDay != null && !renderDay.booleanValue();
|
||||
boolean moreDetail = prefs.SHOW_MORE_MAP_DETAIL.get();
|
||||
BaseOsmandRender renderingType = app.getRendererRegistry().getCurrentSelectedRenderer();
|
||||
|
||||
// prevent editing
|
||||
|
@ -378,7 +379,7 @@ public class MapRenderRepositories {
|
|||
dataBox.bottom -= hi;
|
||||
}
|
||||
validateLatLonBox(dataBox);
|
||||
boolean loaded = loadVectorData(dataBox, requestedBox.getZoom(), renderingType, nightMode, prefs.SHOW_MORE_MAP_DETAIL.get());
|
||||
boolean loaded = loadVectorData(dataBox, requestedBox.getZoom(), renderingType, nightMode, moreDetail);
|
||||
if (!loaded || checkWhetherInterrupted()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue