question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tiles load extremely slowly

See original GitHub issue

I am using the latest version (5.6.5) and the tiles load extremely slowly, to the rate of bad UX. This happens on two devices I tried the app on, both with high-speed internet connection (both cellular and WIFI). I’m using the MAPNIK map, everything based on the tutorial of osmdroid.

`@Override protected void onCreate( Bundle savedInstanceState) { super.onCreate(savedInstanceState);

appContext = getApplicationContext();

//important! set your user agent to prevent getting banned from the osm servers
Configuration.getInstance().load(appContext, PreferenceManager.getDefaultSharedPreferences(appContext));
setContentView(R.layout.navigation);

mMapView = (MapView) findViewById(map);
mMapView.setTileSource(TileSourceFactory.MAPNIK);
mMapView.setMultiTouchControls(true);
mMapView.setBuiltInZoomControls(true);

// add rotation gesture
mRotationGestureOverlay = new RotationGestureOverlay(this, mMapView);
mRotationGestureOverlay.setEnabled(true);
mMapView.setMultiTouchControls(true);
mMapView.getOverlays().add(this.mRotationGestureOverlay);



// Set to default location
IMapController mapController = mMapView.getController();
mapController.setZoom(15);
GeoPoint startPoint = new GeoPoint(48.8589654,2.2926013);
mapController.setCenter(startPoint);

}`

I can’t seem to find the reason for this slow load. Is there an option to use a simpler map? will that help? Are there any other solutions, something I’m doing wrong?

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:20 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
SravanKumarReddy1990commented, Jun 2, 2018

Guys android 6 given new way assigning permission of external storage so i have given ActivityCompat.requestPermissions(LoginActivity.this, new String[{Manifest.permission.READ_EXTERNAL_STORAGE,Manifest.permission.ACCESS_FINE_LOCATION},1); or else goto settings->Applications->Application Manager->choose your app->permission and on permissions so that problem will solve.

0reactions
spyhunter99commented, Oct 13, 2017

operation timeout. please reopen or comment back if you have further questions

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tiles loading extremaly slow - CesiumJS - Cesium Community
Tiles, especially the most used ones - The Open Street maps loading extremely slow. Is there a way to speed it up ?...
Read more >
OSMDroid loads tiles extremely slowly - Stack Overflow
I am using osmdroid version 5.6.5 (the latest version), and the tiles of the map (MAPNIK) loads extremely slowly.
Read more >
Are tiles rendering VERY slowly for anyone else? - Reddit
The tiles are super slow to load, sometimes they don't even load at all and I'm stuck with a map like this. The...
Read more >
PowerBi Tiles content load is slow - Power Platform Community
Hello, I have three tiles in my canvas app and the load works fine but it takes a while before the PowerBi tiles...
Read more >
[tilemap] Some scenes became very slow to load. - Unity Forum
Everytime I use tilemaps (after some filling with different tiles) it leads to slow loading time. It's very easy to reproduce.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found