android-example: reenable cache..
This commit is contained in:
parent
0b1fba58bb
commit
01a41d5f87
@ -35,7 +35,7 @@ import android.view.MenuItem;
|
|||||||
public class BaseMapActivity extends MapActivity {
|
public class BaseMapActivity extends MapActivity {
|
||||||
static final Logger log = LoggerFactory.getLogger(BaseMapActivity.class);
|
static final Logger log = LoggerFactory.getLogger(BaseMapActivity.class);
|
||||||
|
|
||||||
final static boolean USE_CACHE = false;
|
final static boolean USE_CACHE = true;
|
||||||
|
|
||||||
MapView mMapView;
|
MapView mMapView;
|
||||||
VectorTileLayer mBaseLayer;
|
VectorTileLayer mBaseLayer;
|
||||||
|
@ -30,7 +30,8 @@ import android.os.Bundle;
|
|||||||
|
|
||||||
public class BitmapTileMapActivity extends MapActivity {
|
public class BitmapTileMapActivity extends MapActivity {
|
||||||
|
|
||||||
private final static boolean USE_CACHE = false;
|
private final static boolean USE_CACHE = true;
|
||||||
|
|
||||||
private final TileSource mTileSource;
|
private final TileSource mTileSource;
|
||||||
protected BitmapTileLayer mBitmapLayer;
|
protected BitmapTileLayer mBitmapLayer;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user