Martin,
Thanks for the advice... always welcome and look forward to more!
I went ahead and updated the activate and deactivate to call the
QgsMapTool.activate(self) and QgsMapTool.deactivate(self) respectively.
For now I am just going to leave this as an implementation of a QgsMapTool
and will look closer at the QgsMapToolEmitPoint.
I have updated the SVN and uploaded a new zip (0.03) to the plugin
repository.
Thanks again...
A
+----------------------------------------+
Aaron Racicot - GIS Programmer
360.221.2441 -
aaronr@...
+----------------------------------------+
z - p u l l e y
pobox 1614
langley wa 98260
www.reprojected.com
+----------------------------------------+
> -----Original Message-----
> From: Martin Dobias [mailto:
wonder.sk@...]
> Sent: Monday, January 14, 2008 4:34 PM
> To: Aaron Racicot
> Cc:
qgis-user@...
> Subject: Re: [Qgis-user] How to identify a raster on the map?
>
> On Jan 14, 2008 9:36 PM, Aaron Racicot <
aaronr@...> wrote:
> >
> >
http://blog.qgis.org/?q=node/104> >
>
> Aaron,
>
> a note about the implementation: in fact you don't need to implement
> RasterInfoTool - there's QgsMapToolEmitPoint in gui iibrary which does
> the same thing :-)
>
> Moreover, when reimplementing activate/deactivate functions you should
> also call parent QgsMapTool::(de)activate function to keep everyone
> happy. But well, I know... documentation is lacking :-/
>
> Greetings
> Martin
_______________________________________________
Qgis-user mailing list
Qgis-user@...
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user