On Fri, Jun 13, 2014 at 7:24 PM, Nathan Woodrow <madman...@gmail.com> wrote:

> Hey Mark
>
> I think you are over thinking it ;)
>
> Iface.mapCanvas().extent() will give you the event of the view.
> Extent.center() for the middle.
>
> You can transform this using the coordinate transformation classes.
>
>
> That'd be nice ... if I could get a hold of the CRS that the map canvas is
using.  So, I can get the center point, but I'd like to transform it to
geographic coordinates, but do not know the CRS that the returned extent is
using.  I've grepped through the API and do not see how to get this
information.

(And, it would seem there is a delta between the documented API and the
actual API available.  Will the documented API be updated soon?)

Cheers,

Mark
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to