ScaleBar has a bad resolution on MarbleQuickItem
While updating the marble library (from 0.23 to 0.28) on my QML app, I have noticed that the elements I draw on the map have lost resolution (or anti aliasing?). But I have also noticed that the scale-bar is not as nice that is used to be. I have then built the marbleQuick2 example and enable the scale-bar in the QML and I have the same result:
Look at the 'km' and '440' markings.
The issue is also present in the marble-maps
app.
Tested on Kubuntu 18.04 with system Qt 5.9, Qt 5.15.2 and on Windows with MinGW with Qt 5.15.2.
Change required to test:
diff --git a/examples/cpp/marbleQuick2/main.qml b/examples/cpp/marbleQuick2/main.qml
index 86a4f2018..88475246a 100644
--- a/examples/cpp/marbleQuick2/main.qml
+++ b/examples/cpp/marbleQuick2/main.qml
@@ -33,7 +33,7 @@ Rectangle {
showGrid: false
showOverviewMap: false
showOtherPlaces: false
- showScaleBar: false
+ showScaleBar: true
showBackground: false
}
}
But the issue is not present in QtWidget based marble-qt
app.