-
public class MapTileIndexComputes a map tile index as `long` to/from zoom/x/y Algorithm unfortunately different from SqlTileWriter.getIndex for historical reasons. This version is better, because it's easy to get zoom, X and Y back from the index. This version is limited to zooms between 0 and 29, which should be enough.
-
-
Field Summary
Fields Modifier and Type Field Description public static intmMaxZoomLevel
-
Method Summary
-
-
Method Detail
-
getTileIndex
static long getTileIndex(int pZoom, int pX, int pY)
-
getZoom
static int getZoom(long pTileIndex)
-
getX
static int getX(long pTileIndex)
-
getY
static int getY(long pTileIndex)
-
-
-
-