my local changes
This commit is contained in:
parent
08ab7a6613
commit
ee54d374ff
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class TileEndpoint implements OsmAndHttpServer.ApiEndpoint, OsmandMapTile
|
||||||
mapActivity.getMapView().setCurrentViewport(rotatedTileBox);
|
mapActivity.getMapView().setCurrentViewport(rotatedTileBox);
|
||||||
int timeout = 0;
|
int timeout = 0;
|
||||||
try {
|
try {
|
||||||
while (!rotatedTileBox.equals(resultBmpViewport) && timeout < SOCKET_READ_TIMEOUT) {
|
while (timeout < SOCKET_READ_TIMEOUT) {
|
||||||
Thread.sleep(TIMEOUT_STEP);
|
Thread.sleep(TIMEOUT_STEP);
|
||||||
timeout += TIMEOUT_STEP;
|
timeout += TIMEOUT_STEP;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue