On 12 March 2016 at 21:12, Tom Chadwin <[email protected]> wrote: > Apologies. Just found this in the docs for the non-deprecated syntax: > "available in Python bindings as symbolForFeature2". Grrr. > symbolForFeature2() works with the extra argument. > > I still can't get my code to do what I want it to, but that's a different > (and as-yet unknown) issue. > > Many apologies for the noise.
Was just about to point you that way! It's an unfortunate side effect of the python bindings. I couldn't find anyway to keep the same name as the c++ method without breaking existing python code which uses the deprecated method. In 3.0 I'll remove the deprecated method and rename the non-deprecated one back to symbolForFeature. Nyall > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/QgsFeatureRendererV2-symbolForFeature-in-2-14-how-many-arguments-tp5255961p5255964.html > Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
