org.openstreetmap.fma.jtiledownloader.tilelist
Class TileListCommon
java.lang.Object
org.openstreetmap.fma.jtiledownloader.tilelist.TileListCommon
- All Implemented Interfaces:
- TileList
- Direct Known Subclasses:
- TileListCommonBBox, TileListCommonGPX
public abstract class TileListCommon
- extends java.lang.Object
- implements TileList
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_downloadZoomLevels
private int[] _downloadZoomLevels
TileListCommon
public TileListCommon()
calculateTileY
protected final int calculateTileY(double lat,
int zoomLevel)
- Parameters:
lat
- zoomLevel
-
- Returns:
- tileY
calculateTileX
protected final int calculateTileX(double lon,
int zoomLevel)
- Parameters:
lon
- zoomLevel
-
- Returns:
- tileX
getDownloadZoomLevels
public final int[] getDownloadZoomLevels()
- Getter for downloadZoomLevel
- Returns:
- the downloadZoomLevel
setDownloadZoomLevels
public final void setDownloadZoomLevels(int[] downloadZoomLevel)
- Setter for downloadZoomLevel
- Parameters:
downloadZoomLevel
- the downloadZoomLevel to set