pass fx option with S3DBLayer constructor

This commit is contained in:
Hannes Janetzek
2014-10-10 03:09:46 +02:00
parent a098e669c3
commit 78d438dfe6
2 changed files with 15 additions and 9 deletions

View File

@@ -31,12 +31,9 @@ public class S3DBMapActivity extends BaseMapActivity {
mS3dbCache.setCacheSize(512 * (1 << 10));
ts.setCache(mS3dbCache);
}
TileLayer tl = new S3DBLayer(mMap, ts);
TileLayer tl = new S3DBLayer(mMap, ts, true, false);
mMap.layers().add(tl);
mMap.layers().add(new LabelLayer(mMap, mBaseLayer));
mMap.setMapPosition(53.08, 8.83, Math.pow(2, 17));
}
@Override