QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Namespaces | Functions
qgswmsgetlegendgraphics.cpp File Reference
#include "qgslayertree.h"
#include "qgslegendrenderer.h"
#include "qgsvectorlayer.h"
#include "qgsvectorlayerfeaturecounter.h"
#include "qgssymbollayerutils.h"
#include "qgsmaplayerlegend.h"
#include "qgswmsutils.h"
#include "qgswmsserviceexception.h"
#include "qgswmsgetlegendgraphics.h"
#include "qgswmsrenderer.h"
#include <QImage>
#include <QJsonObject>
#include <QJsonDocument>
Include dependency graph for qgswmsgetlegendgraphics.cpp:

Go to the source code of this file.

Namespaces

 QgsWms
 WMS implementation.
 

Functions

void QgsWms::checkParameters (QgsWmsParameters &parameters)
 checkParameters checks request parameters and sets SRCHEIGHT and SRCWIDTH to default values in case BBOX is specified for contextual legend and (SRC)HEIGHT or (SRC)WIDTH are not. More...
 
QgsLayerTreeQgsWms::layerTree (const QgsWmsRenderContext &context)
 
QgsLayerTreeModelQgsWms::legendModel (const QgsWmsRenderContext &context, QgsLayerTree &tree)
 
QgsLayerTreeModelLegendNodeQgsWms::legendNode (const QString &rule, QgsLayerTreeModel &model)
 
void QgsWms::writeGetLegendGraphics (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
 Output GetLegendGRaphics response. More...