We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 220040a + 0b31469 commit dc80ee6Copy full SHA for dc80ee6
1 file changed
samples/moving-objects/mainwindow.cpp
@@ -33,6 +33,10 @@ MainWindow::MainWindow()
33
mMap = new QGVMap(this);
34
setCentralWidget(mMap);
35
36
+ // fix leaving residuals when dragging the map rapidly
37
+ mMap->geoView()->setViewportUpdateMode(QGraphicsView::ViewportUpdateMode::FullViewportUpdate);
38
+ mMap->geoView()->setCacheMode(QGraphicsView::CacheModeFlag::CacheBackground);
39
+
40
Helpers::setupCachedNetworkAccessManager(this);
41
42
// Background layer
0 commit comments