... but I must have missed this day in class...
Let's say I load a raster with a world file. How do I limit the ability to zoom out to be a maximum of twice the 'natural' extents of the raster? That is, I don't want the user to be able to zoom way way out, but to limit it so that at max zoom out, the largest dimension of the raster (X or Y) is 50% of the available map dimension in that same direction.
Please see image for rough example
Dave