nextgis / android_gisapp

:dart: GIS application for Android
http://nextgis.com/nextgis-mobile
GNU General Public License v3.0
134 stars 107 forks source link

Tiles do not render #366

Open 4eRTuk opened 8 years ago

4eRTuk commented 8 years ago

On Android 6.0

https://www.dropbox.com/s/hjm2b332xotvgry/2016-03-26%2012.10.44.png?dl=0 https://www.dropbox.com/s/ed8xhp0tc1w0e56/2016-03-26%2012.28.20.png?dl=0

4eRTuk commented 8 years ago

Caused by ThreadPoolExecutor's core pool size more than 1 here.

BishopGIS commented 7 years ago

Samuel reported that this bug affected Android 7 too.

Quick fix by Samuel:

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
    coreCount = 1;

Here: https://github.com/nextgis/android_maplib/blob/a9323e147db121d8ba9d651bfb1076c5ffdb306f/src/main/java/com/nextgis/maplib/display/TMSRenderer.java#L240

screenshot_20171119-152416

@4eRTuk @simgislab any suggestions?