Hello, thank for your reply. 

1/ For my pyqgis plugin 2.2, i try to 
----------------------------------------------------------------------- 
def logFeatureAdded(self,layerId,addfeatures): 
                message = str(layerId) + " has features added: " 
                for feature in addedFeatures: 
                        message += str( feature.id() ) + ", " 
                QgsMessageLog.logMessage(message) 
                QApplication.beep() 
------------------------------------------------------------------------ 

When i try to add a feature, this following error message appears: 

TypeError : logFeaturesAdded() takes exactly 3 arguments (2 given). 

2/ Always for my plugin, i can load a vector layer succesfully. But when i
try to zoom to the layer extent. But it does not work. How to do in order to
zoom to the layer extent?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Get-signal-on-edited-feature-tp5154173p5154364.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to