Skip to content
Permalink
Browse files

Don't advertise jpeg as image type for GetLegendGraphic

  • Loading branch information
mhugent committed May 7, 2013
1 parent 58f762b commit 469fb25300d95958e8ddaff8b691f9989456b532
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapserver/qgswmsserver.cpp
@@ -183,7 +183,7 @@ QDomDocument QgsWMSServer::getCapabilities( QString version, bool fullProjectInf

//wms:GetLegendGraphic
elem = doc.createElement( "GetLegendGraphic"/*wms:GetLegendGraphic*/ );
appendFormats( doc, elem, QStringList() << "jpeg" << "image/jpeg" << "image/png" );
appendFormats( doc, elem, QStringList() << "image/jpeg" << "image/png" );
elem.appendChild( dcpTypeElement.cloneNode().toElement() ); // this is the same as for 'GetCapabilities'
requestElement.appendChild( elem );

0 comments on commit 469fb25

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