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

Yang xmayyang at gmail.com
Mon Feb 17 18:17:37 PST 2014


I also met this problem.I set the minFeature,but it did not work.
If you solved this problem, please tell me.
Thank you
--------------------------------------------------------------
> Also i tried this:
>
>    QgsPalLayerSettings lyr;
>    lyr.readFromLayer(m_layer);
>    lyr.labelPerPart = false;
>    lyr.writeToLayer(m_layer);
>
> but it now worked too...What i`m doing wrong?
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Labeling-in-vector-layer-development-on-Qt-tp5103733p5103742.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list