Довольно часто повторяется ситуация, когда при последовательном увеличении карты двойным щелчком карта полностью не прорисовывается.
Если карту уменьшать (пальцами или кнопками), то с какого-то момента карта снова рисуется. Если после этого снова увеличивать в тот же примерно район, то опять не рисуется.
Если при этом полностью выгрузить приложение из памяти и снова загрузить (позиция и масштаб карты запоминаются), то карта отрисовывается нормально.
Кнопка обновления карты не помагает. При нажатии на нее по логам видно, что происходит загрузка тайлов. Вот сам лог сразу после нажатия на обновление при пустой карте:
04-14 22:17:01.112 27963-27963/com.nextgis.mobile D/nextgismobile﹕ runDraw
04-14 22:17:01.122 27963-27963/com.nextgis.mobile D/nextgismobile﹕ Layer Draw Index: 1
04-14 22:17:01.123 27963-23702/com.nextgis.mobile W/System.err﹕ java.lang.InterruptedException
04-14 22:17:01.125 27963-23702/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:975)
04-14 22:17:01.126 27963-23702/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
04-14 22:17:01.127 27963-23702/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.Semaphore.acquire(Semaphore.java:283)
04-14 22:17:01.129 27963-23702/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.map.RemoteTMSLayer.getBitmap(RemoteTMSLayer.java:135)
04-14 22:17:01.130 27963-23702/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.display.TMSRenderer$2.run(TMSRenderer.java:223)
04-14 22:17:01.131 27963-23702/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-14 22:17:01.133 27963-23702/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-14 22:17:01.134 27963-23702/com.nextgis.mobile W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
04-14 22:17:01.137 27963-23698/com.nextgis.mobile W/System.err﹕ java.lang.InterruptedException
04-14 22:17:01.139 27963-23698/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:975)
04-14 22:17:01.139 27963-23698/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
04-14 22:17:01.139 27963-23698/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.Semaphore.acquire(Semaphore.java:283)
04-14 22:17:01.140 27963-23698/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.map.RemoteTMSLayer.getBitmap(RemoteTMSLayer.java:135)
04-14 22:17:01.140 27963-23698/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.display.TMSRenderer$2.run(TMSRenderer.java:223)
04-14 22:17:01.141 27963-23698/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-14 22:17:01.141 27963-23698/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-14 22:17:01.142 27963-23698/com.nextgis.mobile W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
04-14 22:17:01.142 27963-23698/com.nextgis.mobile D/nextgismobile﹕ Problem downloading MapTile: http://b.tile.openstreetmap.org/9/368/241.png Error: null
04-14 22:17:01.142 27963-23699/com.nextgis.mobile W/System.err﹕ java.lang.InterruptedException
04-14 22:17:01.143 27963-23700/com.nextgis.mobile W/System.err﹕ java.lang.InterruptedException
04-14 22:17:01.144 27963-23699/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:975)
04-14 22:17:01.144 27963-23699/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
04-14 22:17:01.144 27963-23699/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.Semaphore.acquire(Semaphore.java:283)
04-14 22:17:01.145 27963-23699/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.map.RemoteTMSLayer.getBitmap(RemoteTMSLayer.java:135)
04-14 22:17:01.145 27963-23699/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.display.TMSRenderer$2.run(TMSRenderer.java:223)
04-14 22:17:01.146 27963-23699/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-14 22:17:01.146 27963-23699/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-14 22:17:01.147 27963-23699/com.nextgis.mobile W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
04-14 22:17:01.147 27963-23699/com.nextgis.mobile D/nextgismobile﹕ Problem downloading MapTile: http://c.tile.openstreetmap.org/9/368/242.png Error: null
04-14 22:17:01.148 27963-23700/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:975)
04-14 22:17:01.148 27963-23700/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
04-14 22:17:01.149 27963-23700/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.Semaphore.acquire(Semaphore.java:283)
04-14 22:17:01.149 27963-23700/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.map.RemoteTMSLayer.getBitmap(RemoteTMSLayer.java:135)
04-14 22:17:01.149 27963-23700/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.display.TMSRenderer$2.run(TMSRenderer.java:223)
04-14 22:17:01.150 27963-23700/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-14 22:17:01.150 27963-23700/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-14 22:17:01.151 27963-23700/com.nextgis.mobile W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
04-14 22:17:01.152 27963-23700/com.nextgis.mobile D/nextgismobile﹕ Problem downloading MapTile: http://a.tile.openstreetmap.org/9/368/245.png Error: null
04-14 22:17:01.154 27963-23698/com.nextgis.mobile E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.nextgis.mobile/files/map/layer_20150414205048174/9/368/241.tile: open failed: ENOENT (No such file or directory)
04-14 22:17:01.155 27963-23699/com.nextgis.mobile E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.nextgis.mobile/files/map/layer_20150414205048174/9/368/242.tile: open failed: ENOENT (No such file or directory)
04-14 22:17:01.155 27963-23700/com.nextgis.mobile E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.nextgis.mobile/files/map/layer_20150414205048174/9/368/245.tile: open failed: ENOENT (No such file or directory)
04-14 22:17:01.156 27963-23698/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.25 complete: 12 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.156 27963-23699/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.27083334 complete: 13 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.157 27963-23700/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.29166666 complete: 14 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.157 27963-23697/com.nextgis.mobile W/System.err﹕ java.lang.InterruptedException
04-14 22:17:01.158 27963-23697/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:975)
04-14 22:17:01.159 27963-23697/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
04-14 22:17:01.159 27963-23697/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.Semaphore.acquire(Semaphore.java:283)
04-14 22:17:01.159 27963-23697/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.map.RemoteTMSLayer.getBitmap(RemoteTMSLayer.java:135)
04-14 22:17:01.160 27963-23697/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.display.TMSRenderer$2.run(TMSRenderer.java:223)
04-14 22:17:01.160 27963-23697/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-14 22:17:01.160 27963-23697/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-14 22:17:01.161 27963-23697/com.nextgis.mobile W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
04-14 22:17:01.161 27963-23697/com.nextgis.mobile D/nextgismobile﹕ Problem downloading MapTile: http://a.tile.openstreetmap.org/9/368/243.png Error: null
04-14 22:17:01.162 27963-23697/com.nextgis.mobile E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.nextgis.mobile/files/map/layer_20150414205048174/9/368/243.tile: open failed: ENOENT (No such file or directory)
04-14 22:17:01.162 27963-23697/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.3125 complete: 15 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.163 27963-23702/com.nextgis.mobile D/nextgismobile﹕ Problem downloading MapTile: http://c.tile.openstreetmap.org/9/369/248.png Error: null
04-14 22:17:01.163 27963-23701/com.nextgis.mobile W/System.err﹕ java.lang.InterruptedException
04-14 22:17:01.164 27963-23701/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:975)
04-14 22:17:01.164 27963-23701/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
04-14 22:17:01.165 27963-23701/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.Semaphore.acquire(Semaphore.java:283)
04-14 22:17:01.165 27963-23701/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.map.RemoteTMSLayer.getBitmap(RemoteTMSLayer.java:135)
04-14 22:17:01.165 27963-23701/com.nextgis.mobile W/System.err﹕ at com.nextgis.maplib.display.TMSRenderer$2.run(TMSRenderer.java:223)
04-14 22:17:01.166 27963-23701/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-14 22:17:01.166 27963-23701/com.nextgis.mobile W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-14 22:17:01.167 27963-23701/com.nextgis.mobile W/System.err﹕ at java.lang.Thread.run(Thread.java:841)
04-14 22:17:01.167 27963-23701/com.nextgis.mobile D/nextgismobile﹕ Problem downloading MapTile: http://b.tile.openstreetmap.org/9/368/244.png Error: null
04-14 22:17:01.168 27963-23701/com.nextgis.mobile E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.nextgis.mobile/files/map/layer_20150414205048174/9/368/244.tile: open failed: ENOENT (No such file or directory)
04-14 22:17:01.168 27963-23701/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.33333334 complete: 16 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.169 27963-23702/com.nextgis.mobile E/BitmapFactory﹕ Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.nextgis.mobile/files/map/layer_20150414205048174/9/369/248.tile: open failed: ENOENT (No such file or directory)
04-14 22:17:01.170 27963-23702/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.35416666 complete: 17 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.171 27963-27963/com.nextgis.mobile D/nextgismobile﹕ run draw Layer: OpenStreetMap id: 0
04-14 22:17:01.208 27963-24127/com.nextgis.mobile D/dalvikvm﹕ GC_FOR_ALLOC freed 3056K, 24% free 18722K/24428K, paused 22ms, total 35ms
04-14 22:17:01.211 27963-24128/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.020833334 complete: 1 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.217 27963-24127/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.041666668 complete: 2 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.221 27963-24129/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.0625 complete: 3 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.235 27963-24129/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.083333336 complete: 4 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.240 27963-24129/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.104166664 complete: 5 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.259 27963-24128/com.nextgis.mobile D/dalvikvm﹕ GC_FOR_ALLOC freed 1600K, 20% free 19602K/24428K, paused 16ms, total 16ms
04-14 22:17:01.259 27963-24130/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.125 complete: 6 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.261 27963-24131/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.14583333 complete: 7 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.262 27963-24129/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.16666667 complete: 8 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.262 27963-24131/com.nextgis.mobile D/nextgismobile﹕ url: http://a.tile.openstreetmap.org/9/368/244.png
04-14 22:17:01.265 27963-24130/com.nextgis.mobile D/nextgismobile﹕ url: http://b.tile.openstreetmap.org/9/368/245.png
04-14 22:17:01.266 27963-24128/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.1875 complete: 9 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.266 27963-24129/com.nextgis.mobile D/nextgismobile﹕ url: http://c.tile.openstreetmap.org/9/368/243.png
04-14 22:17:01.267 27963-24132/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.20833333 complete: 10 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.268 27963-24127/com.nextgis.mobile D/nextgismobile﹕ TMS percent: 0.22916667 complete: 11 tiles count: 48 layer: OpenStreetMap
04-14 22:17:01.268 27963-24128/com.nextgis.mobile D/nextgismobile﹕ url: http://a.tile.openstreetmap.org/9/368/242.png
04-14 22:17:01.269 27963-24132/com.nextgis.mobile D/nextgismobile﹕ url: http://b.tile.openstreetmap.org/9/368/241.png
04-14 22:17:01.269 27963-24127/com.nextgis.mobile D/nextgismobile﹕ url: http://c.tile.openstreetmap.org/9/369/248.png
bug :bug: