Skip to content
Permalink
Browse files

Show displacement renderer symbols in composer legend

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13282 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Apr 8, 2010
1 parent a6af7bb commit 3f860ecc32cf63d8280bdc59fb6924b6fe723b15
@@ -324,6 +324,15 @@ QgsLegendSymbologyList QgsPointDisplacementRenderer::legendSymbologyItems( QSize
return QgsLegendSymbologyList();
}

QgsLegendSymbolList QgsPointDisplacementRenderer::legendSymbolItems()
{
if ( mRenderer )
{
return mRenderer->legendSymbolItems();
}
return QgsLegendSymbolList();
}

void QgsPointDisplacementRenderer::createDisplacementGroups( QgsVectorLayer* vlayer, const QgsRectangle& viewExtent )
{
if ( !vlayer || ( vlayer->wkbType() != QGis::WKBPoint && vlayer->wkbType() != QGis::WKBPoint25D ) )
@@ -54,6 +54,8 @@ class QgsPointDisplacementRenderer: public QgsFeatureRendererV2

QgsLegendSymbologyList legendSymbologyItems( QSize iconSize );

QgsLegendSymbolList legendSymbolItems();

void setLabelAttributeName( const QString& name ) { mLabelAttributeName = name; }
QString labelAttributeName() const { return mLabelAttributeName; }

0 comments on commit 3f860ec

Please sign in to comment.
You can’t perform that action at this time.