Skip to content
Permalink
Browse files

Show displacement renderer symbols in composer legend

git-svn-id: http://svn.osgeo.org/qgis/trunk@13282 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Apr 8, 2010
1 parent 81cd2a5 commit 1b5ebe71be6b8500050f77a136bed7a3fc537e4d
@@ -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 1b5ebe7

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