4

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

5

Just connect to the refresh signal

iface.mapCanvas().mapCanvasRefreshed.connect(yourmethod)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.