<br clear="all">
<p>Hi,</p>
<p>I am new to QGIS, and I am trying to build an application.<br>I downloaded your tutorial it worked nicely even i was able to use ZoomFullExtent, ZoomPrevious.<br>but when I tried &quot;qgsmaptoolidentify&quot; it gave an error as:</p>

<p><font color="#ff0000">File &quot;E:\project\viewer.py&quot;, line 158, in __init__<br>self.toolIdentify = QgsMapToolIdentify(self.canvas)<br>NameError: global name &#39;QgsMapToolIdentify&#39; is not defined<br></font>  <br>
I used the above stated header as:</p>
<p>self.toolPan = QgsMapToolPan(self.canvas)<br>self.toolPan.setAction(self.mpActionPan)<br>self.toolIdentify = QgsMapToolIdentify(self.canvas)<br>self.toolIdentify.setAction(self.mpActionIdentify)<br>self.toolZoomIn = QgsMapToolZoom(self.canvas,False) <br>
self.toolZoomIn.setAction(self.mpActionZoomIn)<br>self.toolZoomOut = QgsMapToolZoom(self.canvas, True) <br>self.toolZoomOut.setAction(self.mpActionZoomOut)</p>
<p>def pan(self):<br>    self.canvas.setMapTool(self.toolPan)<br>def zoomIn(self):<br>    self.canvas.setMapTool(self.toolZoomIn)<br>def zoomOut(self):<br>    self.canvas.setMapTool(self.toolZoomOut)<br>def zoomFull(self):<br>
    self.canvas.zoomFullExtent()<br>def info_(self):<br>    self.canvas.setMapTool(self.toolIdentify)</p>
<p>Please help me by giving any idea.</p>
<div>thanks in advance</div>
<div><br>regards.<br>-- <br>Arpita </div>