Add hillshade layer

This commit is contained in:
Victor Shcherb 2013-04-06 13:36:16 +02:00
parent f217edd2ef
commit 685794e4ea

View file

@ -159,7 +159,7 @@ public class HillshadeLayer extends MapTileLayer {
List<String> ts = getTileSource(x, y, zoom); List<String> ts = getTileSource(x, y, zoom);
for (String t : ts) { for (String t : ts) {
SQLiteTileSource sqLiteTileSource = resources.get(t); SQLiteTileSource sqLiteTileSource = resources.get(t);
if(sqLiteTileSource.exists(x, y, zoom, true)) { if(sqLiteTileSource.exists(x, y, zoom, false)) {
return sqLiteTileSource.getImage(x, y, zoom); return sqLiteTileSource.getImage(x, y, zoom);
} }
} }