Hello all,

Can anyone tell me how can I, using Python, access to the "Add New Feature"
QgsRubberBand methods? Or maybe point me to same sample code?

I don't want to create a new rubberband, I would like to access the one
that is created by the drawing/editing maptools.

I can reach the current mapTool with,

iface.mapCanvas().mapTool()

But I'm not understanding how to from there

I wanted to use removeLastPoint() (or the undo() in ). The idea is to
simulate the backspace key functionality with a button to use in a tablet
device (Windows).

Thanks,

Alexandre Neto
-- 
Alexandre Neto
---------------------
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to