I may have misunderstood what you meant with "custom osm plugin".
What does that mean?
If you meant "a modified osm plugin", then you would be already using this 
class anyway.
If you meant "custom map type", then just feeding 512x512 tiles should work.

On Wed, 20 Feb 2019 08:38:44 +0100
maitai <mai...@virtual-winds.org> wrote:

> Hi, 
> 
> Seems to me that QGeoCameraCapabilities is a private qt API? 
> 
> From what I found on the net seems it would help a lot for customizing
> own map plugin or tile server, but it's not clear how I can access it. 
> 
> Philippe 
> 
> Le 19-02-2019 19:40, maitai a écrit :
> 
> > Thanks I'll give it a try
> > 
> > -------- Message d'origine --------
> > De : Paolo Angelelli <paolo.angele...@qt.io> 
> > Date : 19/02/2019 7:21 PM (GMT+01:00) 
> > À : interest@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 plugins
> > 
> > On Tue, 19 Feb 2019 09:51:30 +0100
> > maitai <mai...@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@qt-project.org
> >> https://lists.qt-project.org/listinfo/interest  
> > 
> > _______________________________________________
> > Interest mailing list
> > Interest@qt-project.org
> > https://lists.qt-project.org/listinfo/interest
> > 
> > _______________________________________________
> > Interest mailing list
> > Interest@qt-project.org
> > https://lists.qt-project.org/listinfo/interest  

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to