Skip to content
Permalink
Browse files

Set png as the default format for images in WMS service

  • Loading branch information
pblottiere committed Feb 26, 2019
1 parent 11e80b1 commit e25f60c19f77a133295f058c306ed8f30565b128
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/server/services/wms/qgswmsparameters.cpp
@@ -310,7 +310,9 @@ namespace QgsWms
const QgsWmsParameter pSRS( QgsWmsParameter::SRS );
save( pSRS );

const QgsWmsParameter pFormat( QgsWmsParameter::FORMAT );
const QgsWmsParameter pFormat( QgsWmsParameter::FORMAT,
QVariant::String,
QVariant( "png" ) );
save( pFormat );

const QgsWmsParameter pInfoFormat( QgsWmsParameter::INFO_FORMAT );

0 comments on commit e25f60c

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