Currently, the Overview Map toolkit component does not always display the desired view when an application starts. At initialisation, the Overview Map often displays a world view, while the geoView (MapView or SceneView) displays a local viewpoint. In order to get the Overview Map to show the desired overview, the user needs to interact with the geoView to force the Overview Map to update.
This PR adds single-shot connections to both the C++ and QML Overview Map Controller's. The connections respond to the onDrawStatusChanged signal and, if DrawStatus = completed, the viewpoint in the Overview Map will be updated. Once this has finished, the connection will be disconnected to prevent this happening multiple times.
@anmacdonald and @mrwillyees, please could you review these changes?
Currently, the Overview Map toolkit component does not always display the desired view when an application starts. At initialisation, the Overview Map often displays a world view, while the geoView (MapView or SceneView) displays a local viewpoint. In order to get the Overview Map to show the desired overview, the user needs to interact with the geoView to force the Overview Map to update.
This PR adds single-shot connections to both the C++ and QML Overview Map Controller's. The connections respond to the
onDrawStatusChanged
signal and, ifDrawStatus
= completed, the viewpoint in the Overview Map will be updated. Once this has finished, the connection will be disconnected to prevent this happening multiple times.@anmacdonald and @mrwillyees, please could you review these changes?