For my python plugin I would like to remove a VertexMarker when the user pans/zooms there map.
Which is the best way to detect a canvas refresh or pan/zoom carried out by the user?
Can you suggest any plugins which have this functionality I can take a look at?
Thanks
Answer
Just connect to the refresh signal
iface.mapCanvas().mapCanvasRefreshed.connect(yourmethod)
No comments:
Post a Comment