Merge branch 'android_http_server' of https://github.com/osmandapp/Osmand into android_http_server

This commit is contained in:
simon 2020-09-10 16:54:42 +03:00
commit 65e8328a0c
2 changed files with 3 additions and 3 deletions

View file

@ -17,8 +17,8 @@ import static fi.iki.elonen.NanoHTTPD.newFixedLengthResponse;
public class TileEndpoint implements OsmAndHttpServer.ApiEndpoint {
private static final int TIMEOUT_STEP = 500;
private static final int TIMEOUT = 10000;
private static final int TIMEOUT_STEP = 150;
private static final int TIMEOUT = 15000;
private static final Log LOG = PlatformUtil.getLog(TileEndpoint.class);

View file

@ -880,7 +880,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
public void setCurrentViewport(RotatedTileBox viewport) {
currentViewport = viewport;
refreshMap();
refreshMap(true);
}
public Bitmap getBufferBitmap() {