[Qgis-user] Problems using QgsFillSymbolV2::createSimple()

Mihai Moise norway_mike at yahoo.com
Mon Oct 28 11:00:53 PDT 2013



Hi, I`m working at the moment on an OsGeoLive virtual box. 

I`m using QGIS 1.8.0
I tryed to create a simple Symbol, but it failed to load the props, showing me on the mapCanvas just a symbol with a random color.
This would be the code:


self.gol2_categ_7 = QgsSymbolV2.defaultSymbol(self.gol.geometryType())
self.gol2_categ_7.createSimple({"color": "0,0,0,255", "color_border": "0,0,0,255", "offset": "0,0", "style": "diagonal_x","style_border": "solid","width_border":"0.26"})

Could you tell me please how to resolve the problem, so that the symbol loads the props?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131028/a5b04e11/attachment.html>


More information about the Qgis-user mailing list