mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Don't advertise jpeg as image type for GetLegendGraphic
This commit is contained in:
parent
58f762b1a6
commit
469fb25300
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user