Merge branch 'android_http_server' of https://github.com/osmandapp/Osmand into android_http_server
This commit is contained in:
commit
65e8328a0c
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -880,7 +880,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
|||
|
||||
public void setCurrentViewport(RotatedTileBox viewport) {
|
||||
currentViewport = viewport;
|
||||
refreshMap();
|
||||
refreshMap(true);
|
||||
}
|
||||
|
||||
public Bitmap getBufferBitmap() {
|
||||
|
|
Loading…
Reference in a new issue