Skip to content

Commit 4e29558

Browse files
committedJan 5, 2019
Add doc for new function
1 parent 492ee5f commit 4e29558

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎python/server/auto_generated/qgsserverprojectutils.sip.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@ Returns the quality for WMS images defined in a QGIS project.
155155
%End
156156

157157
int wmsMaxAtlasFeatures( const QgsProject &project );
158+
%Docstring
159+
Returns the maximum number of atlas features which can be printed in a request
160+
161+
:param project: the QGIS project
162+
163+
:return: the number of atlas features
164+
%End
158165

159166
bool wmsUseLayerIds( const QgsProject &project );
160167
%Docstring

‎src/server/qgsserverprojectutils.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ namespace QgsServerProjectUtils
147147
*/
148148
SERVER_EXPORT int wmsImageQuality( const QgsProject &project );
149149

150+
/**
151+
* Returns the maximum number of atlas features which can be printed in a request
152+
* \param project the QGIS project
153+
* \return the number of atlas features
154+
*/
150155
SERVER_EXPORT int wmsMaxAtlasFeatures( const QgsProject &project );
151156

152157
/**

0 commit comments

Comments
 (0)
Please sign in to comment.