Skip to content
Permalink
Browse files

[BUGFIX][QGIS Server] Revert layer order in WMS GetContext request

  • Loading branch information
rldhont committed Nov 8, 2016
1 parent 4234ad5 commit 63e3fd37813d06d13914b41159123c9cb0a25436
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/server/qgswmsprojectparser.cpp
@@ -1768,7 +1768,14 @@ void QgsWmsProjectParser::addOWSLayers( QDomDocument &doc,
layerElem.appendChild( metaUrlElem );
}

parentElem.appendChild( layerElem );
if ( parentElem.hasChildNodes() )
{
parentElem.insertBefore( layerElem, parentElem.firstChild() );
}
else
{
parentElem.appendChild( layerElem );
}
}
else
{

0 comments on commit 63e3fd3

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