Skip to content
Permalink
Browse files

Use new labeling engine also with symbol-level rendering

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.
  • Loading branch information
wonder-sk committed Sep 21, 2015
1 parent aa85cf3 commit f0bc2e9b5ae000f00f701d2ddcc00211628a7869
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/core/qgsvectorlayerrenderer.cpp
@@ -396,6 +396,18 @@ void QgsVectorLayerRenderer::drawRendererV2Levels( QgsFeatureIterator& fit )
mContext.labelingEngine()->registerDiagramFeature( mLayerID, fet, mContext );
}
}
// new labeling engine
if ( mContext.labelingEngineV2() )
{
if ( mLabelProvider )
{
mLabelProvider->registerFeature( fet, mContext );
}
if ( mDiagramProvider )
{
mDiagramProvider->registerFeature( fet, mContext );
}
}
}

// find out the order

0 comments on commit f0bc2e9

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