-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maps tiles load slowly #5529
Comments
@nicolas-raoul could it be that https://wikishootme.toolforge.org/ are using some caching mechanism? Leading to faster loads? |
@shashankiitbhu In my screencast above I am navigating to places I have never navigated before. So I don't think the tiles are in local cache. |
Oh, then it is most likely the configuration and some other optimisation techniques that wikishootme might be using |
@nicolas-raoul it might also be possible that an existing issue is making it appear slower, like #5482 , I have recently added a PR fixing this |
@shashankiitbhu, I think this may be an issue with Tile Server or We may need to optimize the query. |
Hey @nicolas-raoul, I think slow loading is related to OSMDroid uses raster tiles and Mapbox uses vector tiles. Referring to this study (https://www.mdpi.com/2220-9964/9/2/101) vector tiles clearly outperforms raster tiles. |
Indeed vector would be better. |
Even if we are able to get vector tiles. We may still not able to serve vector tiles using OSMDroid, since it does not support vector tiles. |
So, should we wait for them to add support for vector tiles or make optimizations with the current code? |
Let's have this issue about improving the speed of the currently raster tiles maps. Once again WikiShootMe feels faster so I think it is possible. It might involve deep debugging and sending pull requests to OsmDroid. Anyone can create an issue about introducing vector to both WMF and OsmDroid. |
I also feel the same, It may require working on code of OSMDroid since the web version is much faster. I can give it a shot if I get enough time during my summer break. |
Wikipedia app has a places feature these days. Their map seems to load rather quickly. It might be worth exploring what Map SDK they use and how their maps load quickly. As far as I checked, they seem to rely on Wikimedia Maps for their tiles too. |
Indeed the
It seems to be using MapLibre maps SDK for Android with Wikimedia Maps. This is good news for us, let's copy them. :-) Just in case it might be useful, here are the first few requests/responses I observed when using 1
2
3
4
|
Please switch the map rendering SDK to Maplibre. The wikipedia app uses it and it is so much faster than the existing one. |
I feel that our maps are slower with osmdroid/WMF tileserver than when we were using MapBox. One thing is that the WMF tiles server is probably slower than MapBox's server.
But https://wikishootme.toolforge.org feel much faster, and uses the same map server I believe:
screen-20240209-132706.mp4
Maybe we need to configure the number of concurrent web requests to whatever wikishootme is using, or something like that.
The text was updated successfully, but these errors were encountered: