Skip to content

zoom/ pan to specific location from a plugin. #6001

Answered by TyHol
TyHol asked this question in Q&A
Discussion options

You must be logged in to vote

Took the long way round to get a simple answer

iface.mapCanvas().mapSettings.center.x = x
iface.mapCanvas().mapSettings.center.y = y

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TyHol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant