Skip to content

Commit

Permalink
Add doc for new function
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jan 5, 2019
1 parent 492ee5f commit 4e29558
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/server/auto_generated/qgsserverprojectutils.sip.in
Expand Up @@ -155,6 +155,13 @@ Returns the quality for WMS images defined in a QGIS project.
%End

int wmsMaxAtlasFeatures( const QgsProject &project );
%Docstring
Returns the maximum number of atlas features which can be printed in a request

:param project: the QGIS project

:return: the number of atlas features
%End

bool wmsUseLayerIds( const QgsProject &project );
%Docstring
Expand Down
5 changes: 5 additions & 0 deletions src/server/qgsserverprojectutils.h
Expand Up @@ -147,6 +147,11 @@ namespace QgsServerProjectUtils
*/
SERVER_EXPORT int wmsImageQuality( const QgsProject &project );

/**
* Returns the maximum number of atlas features which can be printed in a request
* \param project the QGIS project
* \return the number of atlas features
*/
SERVER_EXPORT int wmsMaxAtlasFeatures( const QgsProject &project );

/**
Expand Down

0 comments on commit 4e29558

Please sign in to comment.