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
- bug/#1193 - "offline second" option and smaller protected tile set New classes: * `SampleOfflinePriority`: abstract demo class * `SampleOfflineFirst`: Offline First demo, to be found in "More Samples... — committed to osmdroid/osmdroid by monsieurtanuki 6 years ago
- bug/#1193 - slight fix Impacted class: * `MapTileProviderBasic`: replaced an `.equals(Object)` with a `==` — committed to osmdroid/osmdroid by monsieurtanuki 6 years ago
- Merge pull request #1235 from osmdroid/bug/#1193 bug/#1193 - "offline second" option and smaller protected tile set — committed to osmdroid/osmdroid by monsieurtanuki 6 years ago
@chrisss404 I’ve just PR’ed #1235, which includes a
MapTileProviderBasic.setOfflineFirst(boolean)method. In your case you need to call it withfalse. And you won’t need yourGitHubIssueMapTileProviderBasicclass anymore. Tell me if it works.@s-ilnar Feel free to test and close the issue if relevant.