I am trying to display a vertex marker for a QGIS python plugin I am writing. I am getting a the following error...
'NameError: global name 'QgsVertexMarker' is not defined'
canv = self.iface.mapCanvas() canv.setExtent(rect) marker = QgsVertexMarker(canv) marker.setCenter(QgsPoint(x,y)) canv.refresh()
What am I doing wrong?