I'm developing a plugin for creating points and lines, but I noticed that when using QgsMapToolEmitPoint the cursor doesn't have snapping functionality
canvas = iface.mapCanvas()
addPoint = QgsMapToolEmitPoint(canvas)
canvas.setMapTool(addPoint)
I noticed that the created tool does not have snapping functionality. Is it possible to create a MapTool with QgsMapToolEmitPoint that has snapping functionality?