2013-04-18 23:35:02 +02:00
|
|
|
package net.osmand.map;
|
|
|
|
|
2014-12-09 17:39:44 +01:00
|
|
|
import java.io.IOException;
|
2013-04-18 23:35:02 +02:00
|
|
|
|
|
|
|
public interface ITileSource {
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public int getMaximumZoomSupported();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public String getName();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public int getTileSize();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02: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
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public int getMinimumZoomSupported();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public String getTileFormat();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public int getBitDensity();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public boolean isEllipticYTile();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public boolean couldBeDownloadedFromInternet();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-08-10 17:35:20 +02:00
|
|
|
public int getExpirationTimeMillis();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2013-08-10 17:44:27 +02:00
|
|
|
public int getExpirationTimeMinutes();
|
2015-10-09 10:35:21 +02:00
|
|
|
|
|
|
|
public String getReferer();
|
2014-12-09 17:39:44 +01:00
|
|
|
|
2016-08-17 00:21:47 +02:00
|
|
|
public void clearTiles(String path);
|
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
}
|