<div dir="ltr">Hi,<div><br></div><div>You should be able to sub-class QgsMapToolIdentify or QgsMapToolIdentifyFeature</div><div>see the documentation</div><div><a href="https://qgis.org/pyqgis/master/gui/Map/QgsMapToolIdentify.html">https://qgis.org/pyqgis/master/gui/Map/QgsMapToolIdentify.html</a><br></div><div><a href="https://qgis.org/pyqgis/master/gui/Map/QgsMapToolIdentifyFeature.html">https://qgis.org/pyqgis/master/gui/Map/QgsMapToolIdentifyFeature.html</a><br></div><div><br></div><div>Denis</div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 15 juin 2018 à 04:42, Ashutosh Vaish <<a href="mailto:ashutoshvaish6397@gmail.com">ashutoshvaish6397@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to develop a plugin which contains it's own QgsMapCanvas. I need the user to select a feature on the map canvas which requires the map tool to replicate the function of the Select Feature of the Qgis Interface.[iface.actionSelect().trigger()]. Is there any way to do it?</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>