Re: [Qgis-developer] Get starting point during add feature

2015-02-27 Thread Luigi Pirelli
derivate or use directly an instance of: http://qgis.org/api/classQgsMapToolEmitPoint.html every mapTool has methods to convert pixel coordinates in map (OTF) or layer coordinates. or if you want to piggyback qgis editing, attach the editing signal of the QgsVectorLayer or that of the QgsVector

[Qgis-developer] Get starting point during add feature

2015-02-27 Thread francescobocca...@libero.it
Hi all, I'm writing a plugin and i would like to get the first (starting point) vertex of a line vector feature during editing. The steps are: 1) enable a line vector to be editable 2)click on add feature button 3)When i click on mapcanvas to draw my first point, i would like to get the point an