Skip to content

Commit

Permalink
Don't advertise jpeg as image type for GetLegendGraphic
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed May 7, 2013
1 parent 58f762b commit 469fb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgswmsserver.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit 469fb25

Please sign in to comment.