Skip to content
Permalink
Browse files

Merge pull request #5697 from pblottiere/server_bugfix_getprojectsett…

…ings

[server][bugfix]  Fixes #17519 by fixing GetProjectSettings response
  • Loading branch information
pblottiere committed Nov 27, 2017
2 parents 9bfb3f3 + 4aa97d8 commit d147064f2ea9feb16141c88d64d65f3881eb74b8
@@ -653,7 +653,7 @@ namespace QgsWms
const QgsComposerMap *composerMap = *cmIt;

QDomElement composerMapElem = doc.createElement( QStringLiteral( "ComposerMap" ) );
composerMapElem.setAttribute( QStringLiteral( "name" ), QStringLiteral( "map%s" ).arg( composerMap->id() ) );
composerMapElem.setAttribute( QStringLiteral( "name" ), QStringLiteral( "map%1" ).arg( composerMap->id() ) );
composerMapElem.setAttribute( QStringLiteral( "width" ), composerMap->rect().width() );
composerMapElem.setAttribute( QStringLiteral( "height" ), composerMap->rect().height() );
composerTemplateElem.appendChild( composerMapElem );
@@ -110,6 +110,12 @@ Content-Type: text/xml; charset=utf-8
<Format>XML</Format>
</Exception>
<sld:UserDefinedSymbolization SupportSLD="1" RemoteWCS="0" UserLayer="0" InlineFeature="0" RemoteWFS="0" UserStyle="1"/>
<ComposerTemplates>
<ComposerTemplate height="210" width="297" name="mytemplate">
<ComposerMap height="26" width="61" name="map1"/>
<ComposerMap height="103" width="87" name="map0"/>
</ComposerTemplate>
</ComposerTemplates>
<WFSLayers>
<WFSLayer name="testlayer èé"/>
</WFSLayers>

0 comments on commit d147064

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