This commit is contained in:
Hannes Janetzek 2013-04-22 03:11:35 +02:00
parent 8f543362e9
commit 55fc510d51
2 changed files with 3 additions and 5 deletions

View File

@ -28,8 +28,6 @@ package org.oscim.renderer.overlays;
// 5 R-Tree might be handy // 5 R-Tree might be handy
// //
import java.util.HashMap;
import org.oscim.core.MapPosition; import org.oscim.core.MapPosition;
import org.oscim.core.Tile; import org.oscim.core.Tile;
import org.oscim.graphics.Color; import org.oscim.graphics.Color;
@ -112,7 +110,7 @@ public class TextOverlay extends BasicOverlay {
private final float[] mTmpCoords = new float[8]; private final float[] mTmpCoords = new float[8];
private final HashMap<MapTile, LabelTile> mActiveTiles; //private final HashMap<MapTile, LabelTile> mActiveTiles;
class LabelTile { class LabelTile {
Tile tile; Tile tile;
@ -209,7 +207,7 @@ public class TextOverlay extends BasicOverlay {
mTileLayer = baseLayer; mTileLayer = baseLayer;
layers.textureLayers = new TextLayer(); layers.textureLayers = new TextLayer();
mTmpLayer = new TextLayer(); mTmpLayer = new TextLayer();
mActiveTiles = new HashMap<MapTile, LabelTile>(); //mActiveTiles = new HashMap<MapTile, LabelTile>();
mTmpPos = new MapPosition(); mTmpPos = new MapPosition();
mThread = new LabelThread(); mThread = new LabelThread();
mThread.start(); mThread.start();

View File

@ -40,7 +40,7 @@ public abstract class MapActivity extends Activity {
private static final String KEY_MAP_SCALE = "map_scale"; private static final String KEY_MAP_SCALE = "map_scale";
private static final String PREFERENCES_FILE = "MapActivity"; private static final String PREFERENCES_FILE = "MapActivity";
private static final String KEY_THEME = "Theme"; //private static final String KEY_THEME = "Theme";
private static boolean containsMapViewPosition(SharedPreferences sharedPreferences) { private static boolean containsMapViewPosition(SharedPreferences sharedPreferences) {
return sharedPreferences.contains(KEY_LATITUDE) return sharedPreferences.contains(KEY_LATITUDE)