Skip to content

Commit

Permalink
[FIX] Increase search zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Oct 13, 2017
1 parent a30ea27 commit f53b871
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/search_plugin/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def jump_to(self, item):
ymin -= 5
ymax += 5
box = QgsRectangle(xmin, ymin, xmax, ymax)
box.grow(20)
self.api.mainwindow.canvas.setExtent(box)
self.api.mainwindow.canvas.refresh()
self.api.mainwindow.showmap()
Expand Down

0 comments on commit f53b871

Please sign in to comment.