Does QMapControl (v0.9.7.9) work with offline (local) map tiles?
I tried to change the MapAdapter to load my local map tiles by using a file URL (e.g. file:///home/fabian/map_data).
I also contacted Kai, but he told me that he used the QHttp class for QMapControl
and he is also not sure if it will work with file URLs.
Does anyone of the maintainers knows if it currently uses QHttp and if it works with offline (local) tiles?
Thanks,
Fabian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a mistake in getImage method of ImageManager class.
Indeed, code is looking for an QPixmap in cache twice, instead of looking for an image in cache then on disk.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Does QMapControl (v0.9.7.9) work with offline (local) map tiles?
I tried to change the MapAdapter to load my local map tiles by using a file URL (e.g. file:///home/fabian/map_data).
I also contacted Kai, but he told me that he used the QHttp class for QMapControl
and he is also not sure if it will work with file URLs.
Does anyone of the maintainers knows if it currently uses QHttp and if it works with offline (local) tiles?
Thanks,
Fabian
There is a mistake in getImage method of ImageManager class.
Indeed, code is looking for an QPixmap in cache twice, instead of looking for an image in cache then on disk.