Skip to content

Commit

Permalink
Use labeling engine settings in WMS renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed May 17, 2018
1 parent ecbd207 commit 7c87138
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/services/wms/qgswmsrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,9 @@ namespace QgsWms
QgsExpressionContext context = mProject->createExpressionContext();
context << QgsExpressionContextUtils::mapSettingsScope( mapSettings );
mapSettings.setExpressionContext( context );

// add labeling engine settings
mapSettings.setLabelingEngineSettings( mProject->labelingEngineSettings() );
}

QDomDocument QgsRenderer::featureInfoDocument( QList<QgsMapLayer *> &layers, const QgsMapSettings &mapSettings,
Expand Down

0 comments on commit 7c87138

Please sign in to comment.