Don't advertise jpeg as image type for GetLegendGraphic

This commit is contained in:
Marco Hugentobler 2013-05-07 15:06:42 +02:00
parent 58f762b1a6
commit 469fb25300

View File

@ -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 );