Skip to content
Permalink
Browse files

[Server][GetPrint] Draw selection for SVG output

  • Loading branch information
rldhont committed Oct 26, 2018
1 parent c47c0ef commit b4e31608e52e028a6346e24521f188bdf0c78a2d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/server/services/wms/qgswmsrenderer.cpp
@@ -396,6 +396,8 @@ namespace QgsWms
if ( ok )
exportSettings.dpi = dpi;
}
// Draw selections
exportSettings.flags |= QgsLayoutRenderContext::FlagDrawSelection;
QgsLayoutExporter exporter( layout.get() );
exporter.exportToSvg( tempOutputFile.fileName(), exportSettings );
}

0 comments on commit b4e3160

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