OsmAnd/OsmAnd-java/src/main/java/net/osmand/map/ITileSource.java
2018-08-26 19:25:52 +02:00

35 lines
669 B
Java

package net.osmand.map;
import java.io.IOException;
public interface ITileSource {
public int getMaximumZoomSupported();
public String getName();
public int getTileSize();
public String getUrlToLoad(int x, int y, int zoom);
public byte[] getBytes(int x, int y, int zoom, String dirWithTiles) throws IOException;
public int getMinimumZoomSupported();
public String getTileFormat();
public int getBitDensity();
public boolean isEllipticYTile();
public boolean couldBeDownloadedFromInternet();
public long getExpirationTimeMillis();
public int getExpirationTimeMinutes();
public String getReferer();
public void deleteTiles(String path);
}