Skip to content
Permalink
Browse files

Add project context for map rendering

  • Loading branch information
pblottiere committed Apr 12, 2018
1 parent 39a1fab commit d9fbca5df0b890acb9535000977c500a9a94a4d0
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/server/services/wms/qgswmsrenderer.cpp
@@ -1125,6 +1125,9 @@ namespace QgsWms
{
mapSettings.setBackgroundColor( backgroundColor );
}

// add context from project (global variables, ...)
mapSettings.setExpressionContext( mProject->createExpressionContext() );
}

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

0 comments on commit d9fbca5

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