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 02587576..c002fbda 100644 --- a/vtm-android-example/src/org/oscim/android/test/BitmapTileMapActivity.java +++ b/vtm-android-example/src/org/oscim/android/test/BitmapTileMapActivity.java @@ -1,5 +1,6 @@ /* * Copyright 2014 Hannes Janetzek + * Copyright 2017 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 @@ -17,10 +18,8 @@ package org.oscim.android.test; import android.os.Bundle; import org.oscim.android.cache.TileCache; -import org.oscim.backend.canvas.Color; import org.oscim.core.MapPosition; import org.oscim.core.MercatorProjection; -import org.oscim.layers.TileGridLayer; import org.oscim.layers.tile.bitmap.BitmapTileLayer; import org.oscim.renderer.MapRenderer; import org.oscim.tiling.source.bitmap.BitmapTileSource; @@ -53,7 +52,6 @@ public class BitmapTileMapActivity extends MapActivity { super.onCreate(savedInstanceState); MapRenderer.setBackgroundColor(0xff777777); - mMap.layers().add(new TileGridLayer(mMap, Color.GRAY, 1.8f, 8)); if (mTileSource == null) return; diff --git a/vtm-playground/src/org/oscim/test/TileRenderTest.java b/vtm-playground/src/org/oscim/test/TileRenderTest.java index f17aed5c..6cd1b5e3 100644 --- a/vtm-playground/src/org/oscim/test/TileRenderTest.java +++ b/vtm-playground/src/org/oscim/test/TileRenderTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 devemux86 + * Copyright 2016-2017 devemux86 * * This file is part of the OpenScienceMap project (http://www.opensciencemap.org). * @@ -16,14 +16,12 @@ */ package org.oscim.test; -import org.oscim.backend.canvas.Color; import org.oscim.core.GeometryBuffer.GeometryType; import org.oscim.core.MapElement; import org.oscim.core.MapPosition; import org.oscim.core.MercatorProjection; import org.oscim.event.Event; import org.oscim.gdx.GdxMapApp; -import org.oscim.layers.TileGridLayer; import org.oscim.layers.tile.MapTile; import org.oscim.layers.tile.MapTile.TileNode; import org.oscim.layers.tile.TileLoader; @@ -54,8 +52,6 @@ public class TileRenderTest extends GdxMapApp { @Override public void createLayers() { - mMap.layers().add(new TileGridLayer(mMap, Color.LTGRAY, 1.2f, 1)); - MapTile tile = new MapTile(null, tileX, tileY, tileZ); double w = 1.0 / (1 << tile.zoomLevel);