[Marble-devel] GroundOverlay rotation

Konrad Enzensberger e.konrad at mpegcode.com
Tue May 21 18:44:50 UTC 2013


Hi,

it seems that the <rotation> tag specified in GroundOverlay\LatLonBox
does not work.
I tested this for any marble projection, the loaded image is not turned.
If i open this kml file with GoogleEarth, the image is turned like set in <rotation> tag.

Debugging marblewidget i can see, that the rotation value is set in:
GeoNode* KmlrotationTagHandler::parse( GeoParser& parser ) const
{
    ...
    qreal rotation = parser.readElementText().toFloat();
    parentItem.nodeAs<GeoDataLatLonBox>()->setRotation( rotation * DEG2RAD );
    ...
}

but this setting seems to have no affect drawing the image,
do i miss something ? some settings which should be enabled ?

br, konrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20130521/408f0049/attachment.html>


More information about the Marble-devel mailing list