Esri / arcgis-maps-sdk-toolkit-qt

ArcGIS Maps SDK for Qt Toolkit
Apache License 2.0
132 stars 61 forks source link

Awilliams/searchview match ios #483

Closed mrwillyees closed 2 years ago

mrwillyees commented 2 years ago

Qt implementation missed a check before showing the "repeat search button". Implemented by keeping track of the last GeoView extent after every search commited, suggestion chosen, result chosen. This variable is compared with the current GeoView extent and if their diversity ratio > lastSearchArea => show repeat search button.

mrwillyees commented 2 years ago

Might found a bug/enhancement. If the search is performed programmatically, using the .commitSearch function, the repeat search button will never be shown because there is a state that is only set based on a click done on the UI here. If this is a possible enhancement I can have a look at it.