Skip to content

Commit 29f6822

Browse files
committedApr 16, 2019
Use precision
1 parent 64fdbe3 commit 29f6822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/geometry/qgsgeometrycollection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ QJsonObject QgsGeometryCollection::asJsonObject( int precision ) const
436436
QJsonArray coordinates;
437437
for ( const QgsAbstractGeometry *geom : qgis::as_const( mGeometries ) )
438438
{
439-
coordinates.append( geom->asJsonObject() );
439+
coordinates.append( geom->asJsonObject( precision ) );
440440
}
441441
return
442442
{

0 commit comments

Comments
 (0)
Please sign in to comment.