On Mon, Dec 8, 2014 at 1:26 PM, Nathan Woodrow <[email protected]> wrote:
>> Keeping just center+scale+rotation in QgsMapSettings seems like a
> cleaner solution.
>
> Is it still possible to have the ability to set extents?  There are use
> cases for setting it vs trying to work out the scale and center.

Yeah it would be still possible to set/get extents - this is just
about which pieces of information would be canonical and which would
be derived. Currently the center and map-units-per-pixel are derived
from the extent and image size, the idea is to have that reversed:
extent to be derived from center, map-units-per-pixel and image size.

Cheers
Martin
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to