diff --git a/vtm-android-example/src/org/oscim/android/test/BaseMapActivity.java b/vtm-android-example/src/org/oscim/android/test/BaseMapActivity.java index b1ffc3cf..e0547245 100644 --- a/vtm-android-example/src/org/oscim/android/test/BaseMapActivity.java +++ b/vtm-android-example/src/org/oscim/android/test/BaseMapActivity.java @@ -1,6 +1,6 @@ /* * Copyright 2013 Hannes Janetzek - * Copyright 2016-2017 devemux86 + * Copyright 2016-2018 devemux86 * * This file is part of the OpenScienceMap project (http://www.opensciencemap.org). * @@ -35,7 +35,7 @@ import org.slf4j.LoggerFactory; public class BaseMapActivity extends MapActivity { static final Logger log = LoggerFactory.getLogger(BaseMapActivity.class); - final static boolean USE_CACHE = true; + final static boolean USE_CACHE = false; VectorTileLayer mBaseLayer; TileSource mTileSource; diff --git a/vtm-android-example/src/org/oscim/android/test/BitmapTileMapActivity.java b/vtm-android-example/src/org/oscim/android/test/BitmapTileMapActivity.java index c002fbda..733af236 100644 --- a/vtm-android-example/src/org/oscim/android/test/BitmapTileMapActivity.java +++ b/vtm-android-example/src/org/oscim/android/test/BitmapTileMapActivity.java @@ -1,6 +1,6 @@ /* * Copyright 2014 Hannes Janetzek - * Copyright 2017 devemux86 + * Copyright 2017-2018 devemux86 * * This program is free software: you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free Software @@ -31,7 +31,7 @@ public class BitmapTileMapActivity extends MapActivity { static final Logger log = LoggerFactory.getLogger(BitmapTileMapActivity.class); - private final static boolean USE_CACHE = true; + private final static boolean USE_CACHE = false; private final BitmapTileSource mTileSource; protected BitmapTileLayer mBitmapLayer; diff --git a/vtm-android-example/src/org/oscim/android/test/GdxMapActivity.java b/vtm-android-example/src/org/oscim/android/test/GdxMapActivity.java index ba569a28..80a7368f 100644 --- a/vtm-android-example/src/org/oscim/android/test/GdxMapActivity.java +++ b/vtm-android-example/src/org/oscim/android/test/GdxMapActivity.java @@ -1,6 +1,6 @@ /* * Copyright 2013 Hannes Janetzek - * Copyright 2016-2017 devemux86 + * Copyright 2016-2018 devemux86 * * This file is part of the OpenScienceMap project (http://www.opensciencemap.org). * @@ -64,7 +64,7 @@ public class GdxMapActivity extends AndroidApplication { TileSource ts = OSciMap4TileSource.builder() .httpFactory(new OkHttpEngine.OkHttpFactory()) .build(); - initDefaultLayers(ts, true, true, true, getResources().getDisplayMetrics().density); + initDefaultLayers(ts, false, true, true, getResources().getDisplayMetrics().density); } } }