Subgroup: Map

Class: QgsMapToolEmitPoint

class qgis.gui.QgsMapToolEmitPoint(canvas: QgsMapCanvas)

Bases: qgis._gui.QgsMapTool

constructor

A map tool that simply emits a point when clicking on the map. Connecting a slot to its canvasClicked() signal will let you implement custom behavior for the passed in point.

canvasClicked

signal emitted on canvas click [signal]

canvasMoveEvent(self, e: QgsMapMouseEvent)
canvasPressEvent(self, e: QgsMapMouseEvent)
canvasReleaseEvent(self, e: QgsMapMouseEvent)
childEvent()
connectNotify()
customEvent()
disconnectNotify()
flags(self) → QgsMapTool.Flags
isSignalConnected()
receivers()
sender()
senderSignalIndex()
timerEvent()
toCanvasCoordinates()
toLayerCoordinates()
toMapCoordinates()
toMapCoordinatesV2()