<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,</p>
    <p>using QgsPointClusterRenderer() as renderer is working fine, but
      i can't style it.</p>
    <p>The old renderers are having arguments like "symbol"</p>
    <p><tt>symbol = QgsSymbol.defaultSymbol(pgLayer.geometryType())</tt><tt><br>
      </tt><tt>symbol.setColor(QtGui.QColor.fromRgb(255,0,0))</tt><tt><br>
      </tt><tt>symbol.setSize(4)</tt><tt><br>
      </tt><tt><br>
      </tt><tt>pgRenderer =
        pgLayer.setRenderer(QgsSingleSymbolRenderer(symbol))</tt></p>
    <p>and that is still running.</p>
    <p>But the new renderers like PointCluster don't. There must be
      another way (methods?) to configure that.</p>
    <p><tt>pgRenderer2 = pgLayer.setRenderer(QgsPointClusterRenderer()) 
        <br>
      </tt></p>
    <p><tt>pgRenderer2.setClusterSymbol(symbol)  # gives errors.</tt><tt><br>
      </tt></p>
    <p>Searched for hours but can't solve that.</p>
    <p>regards<br>
      walter<br>
    </p>
    <p> <br>
    </p>
    <div class="moz-signature">-- <br>
      My projects:<br>
      <br>
      <a href="https://wambachers-osm.website/boundaries">Admin
        Boundaries of the World</a><br>
      <a
href="https://wambachers-osm.website/index.php/projekte/internationale-administrative-grenzen/missing-boundaries">Missing
        Boundaries</a><br>
      <a href="https://wambachers-osm.website/emergency">Emergency Map</a><br>
      <a href="https://wambachers-osm.website/plz">Postal Code Map
        (Germany only)</a><br>
      <a href="https://wambachers-osm.website/fools">Fools (QA for
        zipcodes in Germany)</a><br>
      <a href="https://wambachers-osm.website/pcoundaries"> Postcode
        Boundaries of Germany</a></div>
  </body>
</html>