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.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to