From 215c921d05c572eef669979f92df0611f13e18f3 Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 27 Aug 2011 21:23:19 +0200 Subject: [PATCH] implement moreDetail switch (6) --- OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java index cd1de2a49b..72b6ca4e02 100644 --- a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java +++ b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java @@ -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; }