OsmAnd/OsmAnd-java/src/main/java/net/osmand/map/ITileSource.java

36 lines
669 B
Java
Raw Normal View History

package net.osmand.map;
2014-12-09 17:39:44 +01:00
import java.io.IOException;
public interface ITileSource {
2014-12-09 17:39:44 +01:00
public int getMaximumZoomSupported();
2014-12-09 17:39:44 +01:00
public String getName();
2014-12-09 17:39:44 +01:00
public int getTileSize();
2014-12-09 17:39:44 +01:00
public String getUrlToLoad(int x, int y, int zoom);
2014-12-09 17:39:44 +01:00
2014-12-11 10:24:48 +01:00
public byte[] getBytes(int x, int y, int zoom, String dirWithTiles) throws IOException;
2014-12-09 17:39:44 +01:00
public int getMinimumZoomSupported();
2014-12-09 17:39:44 +01:00
public String getTileFormat();
2014-12-09 17:39:44 +01:00
public int getBitDensity();
2014-12-09 17:39:44 +01:00
public boolean isEllipticYTile();
2014-12-09 17:39:44 +01:00
public boolean couldBeDownloadedFromInternet();
2014-12-09 17:39:44 +01:00
2018-08-26 19:25:44 +02:00
public long getExpirationTimeMillis();
2014-12-09 17:39:44 +01:00
2013-08-10 17:44:27 +02:00
public int getExpirationTimeMinutes();
public String getReferer();
2014-12-09 17:39:44 +01:00
2017-06-27 14:49:20 +02:00
public void deleteTiles(String path);
2016-08-17 00:21:47 +02:00
}