[Interest] 3D Navigation QtLocation Module

Aaron McCarthy mccarthy.aaron at gmail.com
Wed Dec 3 00:52:17 CET 2014


Hi,

On Tue, 2 Dec 2014 13:34:50 Ramakanthreddy Kesireddy wrote:
> Basically idea is to use the jpeg  in mobile application to render the map
> with route plan as there is no connection/network in mobile. Please let me
> know if there is any API to save the map view along with routing into a
> jpeg in QtLocation module.

Qt Location does not provide an API for this, but it looks like it is possible 
by changing the render target of the QQuickWindow that the map is rendered in 
to an FBO and converting that to an image. See the documentation for 
QQuickWindow::setRenderTarget() and QOpenGLFramebufferObject::toImage().

Cheers,

-- 
Aaron McCarthy



More information about the Interest mailing list