Hi, using QgsPointClusterRenderer() as renderer is working fine, but i can't style it.
The old renderers are having arguments like "symbol" symbol = QgsSymbol.defaultSymbol(pgLayer.geometryType()) symbol.setColor(QtGui.QColor.fromRgb(255,0,0)) symbol.setSize(4) pgRenderer = pgLayer.setRenderer(QgsSingleSymbolRenderer(symbol)) and that is still running. But the new renderers like PointCluster don't. There must be another way (methods?) to configure that. pgRenderer2 = pgLayer.setRenderer(QgsPointClusterRenderer()) pgRenderer2.setClusterSymbol(symbol) # gives errors. Searched for hours but can't solve that. regards walter -- My projects: Admin Boundaries of the World <https://wambachers-osm.website/boundaries> Missing Boundaries <https://wambachers-osm.website/index.php/projekte/internationale-administrative-grenzen/missing-boundaries> Emergency Map <https://wambachers-osm.website/emergency> Postal Code Map (Germany only) <https://wambachers-osm.website/plz> Fools (QA for zipcodes in Germany) <https://wambachers-osm.website/fools> Postcode Boundaries of Germany <https://wambachers-osm.website/pcoundaries>
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
