Fix QGeoMapObject handling in reference implementation


setVisible was neither changing the visibility nor
triggering repaint.
Pimpls weren't removing themselves in their destructors when
dynamically added/removed via QGeoMapObjectView
add/removeMapObject.
This patch also factors out the duplicated QGeoMapObject support
from QGeoTiledMapLabs and QGeoMapObjectsOverlay and moves it
into an own class, QGeoMapObjectQSGSupport.
To properly flush the scene graph nodes upon object removal,
a pointer to the QSGNode is added to the MapObject struct,
now moved inside QGeoMapObjectQSGSupport.

Change-Id: Ie8c6d54f8f340ba3867717d9620791d3fe8021cc
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commitecb6fbd235a8f23f0844bb2b926b78566c1aaa76
parente86a2f2a437a8c0e820e85ae4498a391c76bb823
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerJani Heikkinen <jani.heikkinen@qt.io>
commit timeSun, 22 Apr 2018 06:34:13 +0000