diff --git a/vtm/src/org/oscim/tiling/TileManager.java b/vtm/src/org/oscim/tiling/TileManager.java index 873cd645..801bfa86 100644 --- a/vtm/src/org/oscim/tiling/TileManager.java +++ b/vtm/src/org/oscim/tiling/TileManager.java @@ -32,7 +32,7 @@ import org.oscim.renderer.BufferObject; import org.oscim.utils.FastMath; import org.oscim.utils.ScanBox; import org.oscim.utils.quadtree.Node; -import org.oscim.utils.quadtree.QuadTreeIndex; +import org.oscim.utils.quadtree.QuadTree; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -85,7 +85,7 @@ public class TileManager { // job queue filled in TileManager and polled by TileLoaders private final JobQueue jobQueue; - private final QuadTreeIndex mIndex = new QuadTreeIndex() { + private final QuadTree mIndex = new QuadTree() { @Override public MapTile create(int x, int y, int z) { diff --git a/vtm/src/org/oscim/utils/quadtree/QuadTreeIndex.java b/vtm/src/org/oscim/utils/quadtree/QuadTree.java similarity index 98% rename from vtm/src/org/oscim/utils/quadtree/QuadTreeIndex.java rename to vtm/src/org/oscim/utils/quadtree/QuadTree.java index adc9ed50..d6f4c23a 100644 --- a/vtm/src/org/oscim/utils/quadtree/QuadTreeIndex.java +++ b/vtm/src/org/oscim/utils/quadtree/QuadTree.java @@ -16,13 +16,13 @@ */ package org.oscim.utils.quadtree; -public abstract class QuadTreeIndex { +public abstract class QuadTree { Node pool; Node root; - public QuadTreeIndex() { + public QuadTree() { root = new Node(); root.parent = root; }