import QtQuick 2.8 import QtQuick.Window 2.2 import QtPositioning 5.9 import QtLocation 5.9 Window { visible: true width: 640 height: 480 title: qsTr("QML memory leak") property int itemCount: 300 property var coords: ({}) property var items: ({}) property bool inBound: true Timer { id: timerPan running: false interval: 200; repeat: true; onTriggered: { if (inBound) { map.pan(width / 2, height / 2); } else { map.pan(-width / 2, -height / 2); } inBound = !inBound; } } Timer { id: timerItems running: false; interval: 100; repeat: true onTriggered: { var region = map.visibleRegion.boundingGeoRectangle(); for(var i=0;i