osmdroid: Slow loading of map tiles in 6.0.2

I use version 6.0.2. Compared to version 6.0.1, version 6.0.2 takes a long time to download map tiles, especially noticeable on Android 8.
I use
Configuration.getInstance().setUserAgentValue(getContext().getPackageName()); mapView.setTileSource(TileSourceFactory.MAPNIK);

implementation group: 'org.osmdroid', name: 'osmdroid-android', version: '6.0.2'

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16

Commits related to this issue

Most upvoted comments

@chrisss404 I’ve just PR’ed #1235, which includes a MapTileProviderBasic.setOfflineFirst(boolean) method. In your case you need to call it with false. And you won’t need your GitHubIssueMapTileProviderBasic class anymore. Tell me if it works.

@s-ilnar Feel free to test and close the issue if relevant.