[marble] [Bug 379297] Plain Map Theme appears blue

Abhinav Gangwar bugzilla_noreply at kde.org
Mon May 8 05:25:41 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=379297

Abhinav Gangwar <agangwar at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |agangwar at kde.org

--- Comment #1 from Abhinav Gangwar <agangwar at kde.org> ---
It's because of change in GeometryLayer::render() method in commit
f847505b02940aff9e37a6fa2317a7098c078d97, the zoom level is currently being
calculated as:
`const int maxZoomLevel = qMin(d->m_tileLevel,
d->m_styleBuilder->maximumZoomLevel()); `
This change causes the issue. Before the commit
f847505b02940aff9e37a6fa2317a7098c078d97, it was being calculated as:
 ` const int maxZoomLevel =
qMin<int>(qMax<int>(qLn(viewport->radius()*4/256)/qLn(2.0), 1),
d->m_styleBuilder->maximumZoomLevel()); and worked fine. 

I don't understand the difference between those two ways of calculating the
zoomLevel. So, need help with that.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list