- 
    Bug 
- 
    Resolution: Unresolved
- 
    P2: Important 
- 
    None
- 
    5.12.0
- 
    None
Having a Map with a MapPolyline inside a Popup like the pseudo-QML below gives a bunch of warnings when it is closed and then reopened.
Popup {
    id: popup
    Map {
        // (...)
        MapPolyline {
                path: [
                    { latitude: 59.91, longitude: 10.75},
                    { latitude: 60, longitude: 11}
                ]
        }
    }
}
One popup.close() and popup.open() later, I get these warnings:
Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960" Layer not found: "QtLocation-94551043880960"
See attachment qtmaptest.zip for a complete but minimal example.