Skip to content
Permalink
Browse files

Use labeling engine settings in WMS renderer

  • Loading branch information
pblottiere committed May 14, 2018
1 parent ecbd207 commit 7c8713878973dd2e3c5f702057e9730fbc38fc15
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/server/services/wms/qgswmsrenderer.cpp
@@ -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,

0 comments on commit 7c87138

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