remove MapTile.loader field for GWT

This commit is contained in:
Hannes Janetzek
2014-03-08 13:20:26 +01:00
parent 26846d752f
commit 6d3bc0caea
5 changed files with 7 additions and 20 deletions

View File

@@ -35,9 +35,6 @@ public class MapTile extends Tile {
}
/** To be removed: used by GWT backend */
public TileLoader loader;
public static final class State {
public final static byte NONE = 0;
@@ -67,7 +64,7 @@ public class MapTile extends Tile {
}
public MapTile(TileNode node, int tileX, int tileY, int zoomLevel) {
super(tileX, tileY, (byte)zoomLevel);
super(tileX, tileY, (byte) zoomLevel);
this.x = (double) tileX / (1 << zoomLevel);
this.y = (double) tileY / (1 << zoomLevel);
this.node = node;