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

34 lines
628 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
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();
public String getReferer();
2014-12-09 17:39:44 +01:00
}