[Qgis-developer] Labeling in vector layer (development on Qt)

Régis Haubourg regis.haubourg at eau-adour-garonne.fr
Mon Feb 17 02:48:13 PST 2014


Mmm. .. 
m_layer->setCustomProperty("labeling/displayAll", "false");  that should
work.

Did you also put data defined properties like this?

m_layer->setCustomProperty("labeling/dataDefined/AlwaysShow",
"1~~0~~~~LblAShow")

Thoses properties overide general placement properties on feature's level... 

I only have experience on PyQT side, maybe you miss something to refresh
that? 



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Labeling-in-vector-layer-development-on-Qt-tp5103733p5104195.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list