From fb6765ef0cefa1d39d1557e420e3cc28ea36fd36 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sun, 4 Aug 2013 14:40:10 +0200 Subject: [PATCH] clear map after theme change --- vtm/src/org/oscim/view/MapView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vtm/src/org/oscim/view/MapView.java b/vtm/src/org/oscim/view/MapView.java index 0c6f72fe..c1d05369 100644 --- a/vtm/src/org/oscim/view/MapView.java +++ b/vtm/src/org/oscim/view/MapView.java @@ -32,7 +32,6 @@ import org.oscim.theme.InternalRenderTheme; import org.oscim.theme.ThemeLoader; import org.oscim.tilesource.TileSource; import org.oscim.utils.async.AsyncExecutor; -import org.oscim.utils.async.AsyncTask; public abstract class MapView { @@ -96,6 +95,8 @@ public abstract class MapView { } mBaseLayer.setRenderTheme(t); GLRenderer.setBackgroundColor(t.getMapBackground()); + + clearMap(); } public void destroy() {