You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Anita Graser (@anitagraser)
Original Redmine Issue: 2712
Redmine category:map_canvas
Assignee: Charles Timko -
It would be nice to have a function that accepts a scale value and actually affects the scale of the map, so it can be used from inside a python plugin.
iface.mapCanvas().mapRenderer().setScale(double scale) only affects the value in the scale box in the bottom right corner of QGIS window.
Ignore patch.txt, because after I was able to fully test it I realized I left something out so it wasn't exposed yet. bug2717fix.diff has been tested and zoomScale is exposed and does work within Python. ((And since i know this patch works I am resolving this bug))
Author Name: Anita Graser (@anitagraser)
Original Redmine Issue: 2712
Redmine category:map_canvas
Assignee: Charles Timko -
It would be nice to have a function that accepts a scale value and actually affects the scale of the map, so it can be used from inside a python plugin.
iface.mapCanvas().mapRenderer().setScale(double scale) only affects the value in the scale box in the bottom right corner of QGIS window.
Related forum thread: http://forum.qgis.org/viewtopic.php?f=5&t=6572
The text was updated successfully, but these errors were encountered: