[Qgis-developer] setScaleBasedVisibility problem
leonidas
leonidas_liakos at yahoo.gr
Sat Jul 16 12:47:31 EDT 2011
I'm trying to set the scales for my labels in my python script as follow:
* myLabel.setMaxScale(600000)
myLabel.setMinScale(150000)
myLabel.setScaleBasedVisibility(True)*
but it doesn't work (no labels at all). Removing the last line
(myLabel.setScaleBasedVisibility(True)), the labels are displayed in all
scales.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/setScaleBasedVisibility-problem-tp6589924p6589924.html
Sent from the qgis-developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list