[Qgis-developer] "Jump" to coordinates possible?

Etienne Tourigny etourigny.dev at gmail.com
Sat Oct 13 07:01:24 PDT 2012


Hi,

see various panning/extent functions in qgsmaplayer

http://www.qgis.org/api/classQgsMapCanvas.html

You would probably want to use setExtent(), by calculating the
rectangle you want, centered on your point of interest.

Also see the qgis cookbook map canvas section

http://www.qgis.org/pyqgis-cookbook/canvas.html

cheers
Etienne

On Sat, Oct 13, 2012 at 6:46 AM, Christopher Kaiser
<Christopher.Kaiser at ruhr-uni-bochum.de> wrote:
> Hi list,
>
> is it possible to send an input (API?) with coordinates of a specific point
> of interest to QGIS and make the map to render/jump to this specific point?
> Background fire services: a alarm address (coordinates) should be shown on
> the map to explore the structure and the area around.
>
>
> Thanks and cheers,
> Chris
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list