[Interest] Qt Location custom osm plugin and high res tiles

maitai maitai at virtual-winds.org
Tue Feb 19 19:40:52 CET 2019


Thanks I'll give it a try

-------- Message d'origine --------
De : Paolo Angelelli <paolo.angelelli at qt.io> 
Date : 19/02/2019  7:21 PM  (GMT+01:00) 
À : interest at qt-project.org 
Objet : Re: [Interest] Qt Location custom osm plugin and high res tiles 

Hi, yes it's easy.All you have to do is setting the appropriate QGeoCameraCapabilities for the map types you have high dpi tiles for.So in your case, set the tilesize to 256x256, so that you will have more data per logical pixel.hope it's clear enough. Or just check how it's done in either osm or here or mapbox pluginsOn Tue, 19 Feb 2019 09:51:30 +0100maitai <maitai at virtual-winds.org> wrote:> Hello,> > Is it possible to use high res tiles with a custom osm plugin?> In fact I created my own local server and would like to know if I can > send high res tiles, for instance if devicePixelRatio is 2 I would send > 512x512 tiles, expecting Qt Location to set the tile pixel ratio to 2.> > Thanks> Philippe.> _______________________________________________> Interest mailing list> Interest at qt-project.org> https://lists.qt-project.org/listinfo/interest_______________________________________________Interest mailing listInterest at qt-project.orghttps://lists.qt-project.org/listinfo/interest​​​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190219/193139db/attachment.html>


More information about the Interest mailing list