Feature request #1323
Overview map - usability improvements
|Pull Request or Patch supplied:||Resolution:||fixed|
|Easy fix?:||No||Copied to github as #:||11383|
Two minor problems with the overview map have been annoying me for a while: the hand cursor covers the extent rectangle in certain situations making it hard to position the rectangle accurately; when the extent rectangle is at minimum size it would drift to the right and down as you zoom in, also making it hard to position.
The patch provided:
1. Changes the mouse cursor hot spot to 0,0. Now, the rectangle can be positioned with its lower right corner in the space between the thumb and forefinger of the hand keeping the rectangle and what it is over visible.
The idea is to position the extent rectangle, rather than the hand, over the desired area on the map.
2. Fix up the position calculations to account for the extent rectangle minimum size. Also includes tests to be sure the x,y values won't underflow when the location is adjusted.