Menu

Using QMapControl with offline (local) map tiles

Help
fklab
2015-05-13
2015-06-17
  • fklab

    fklab - 2015-05-13

    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

     
  • Gerard GAUDEAU

    Gerard GAUDEAU - 2015-06-17

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB