Closed SamuilsRulovs closed 1 year ago
I tried to implement zoom to object function, however something is not working. After clicking on the "Zoom to object" button objects are not moving at all. Maybe my implementation should be a bit more complex.
Now the button works, but function "Zoom to object" is not ready yet (where are several inaccuracies, when we are having more than one object)
I went through this Pull Request and concluded that it is impossible to implement the "zoom in" feature into the solution for now. I have created a QPushbutton and a code allowing users to zoom in on objects. Right now, the code works for one object, however, in the case of several objects, the "zoom in" function calculates incorrectly the center of the BBOX. I tried to find a solution previously as well as now, but I couldn't solve it. Therefore I am commenting out my code. (Hopefully, this code can be helpful to others, who will want to continue developing this feature).
Thank you for taking another look at the pull request. I'll close this pull request.
Fixes #435