[Marble-devel] Drop by Blue Marble assert the small zoom
denis
denis at forsys.ru
Mon Jan 13 15:37:25 UTC 2014
Hello.
I have a problem when using the library on windows libmarblewidget.
I need to see a small globe map bluemarble.
To do this I changed the parameter
<zoom>
<minimum> 900 </ minimum>
on
<zoom>
<minimum> 700 </ minimum>
As a result, a small globe (zoom) zoomLevel variable is initialized to
the minimum int value.
In classes:
src / lib / layers / GeometryLayer.cpp
in line
int maxZoomLevel = qMin<int>( qLn( viewport->radius() *4 / 256 ) / qLn(
2.0 ), GeometryLayerPrivate::maximumZoomLevel() );
src / lib / PlacemarkLayout.cpp
in line
int zoomLevel = qLn( viewport->radius() *4 / 256 ) / qLn( 2.0 );
So it should be or is it a mistake?
Thanks!!!
-------------- next part --------------
An embedded message was scrubbed...
From: denis <denis at forsys.ru>
Subject: Drop by Blue Marble assert the Malenkov zoom
Date: Mon, 13 Jan 2014 18:56:06 +0400
Size: 2187
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140113/a4adddbc/attachment.eml>
More information about the Marble-devel
mailing list