Skip to content

Commit 27fc381

Browse files
committed
fix comment
1 parent fab5254 commit 27fc381

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/server/auto_generated/qgsserverprojectutils.sip.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ Returns the maximum number of atlas features which can be printed in a request
165165

166166
double wmsDefaultMapUnitsPerMm( const QgsProject &project );
167167
%Docstring
168-
Returns the denominator of the default scale used in case of the scale is not given
168+
Returns the default number of map units per millimeters in case of the scale is not given
169169

170170
:param project: the QGIS project
171171

172-
:return: the denominator of the scale
172+
:return: the default number of map units per millimeter
173173

174174
.. versionadded:: 3.8
175175
%End

src/server/qgsserverprojectutils.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ namespace QgsServerProjectUtils
155155
SERVER_EXPORT int wmsMaxAtlasFeatures( const QgsProject &project );
156156

157157
/**
158-
* Returns the denominator of the default scale used in case of the scale is not given
158+
* Returns the default number of map units per millimeters in case of the scale is not given
159159
* \param project the QGIS project
160-
* \returns the denominator of the scale
160+
* \returns the default number of map units per millimeter
161161
* \since QGIS 3.8
162162
*/
163163
SERVER_EXPORT double wmsDefaultMapUnitsPerMm( const QgsProject &project );

0 commit comments

Comments
 (0)