Skip to content

Commit

Permalink
Fix RoundCoordinatesProjector example
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Aug 22, 2024
1 parent 0ba1296 commit 7e36887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ $roundProjector = new RoundCoordinatesProjector(2);
$point = Point::xy(1.2345678, 2.3456789);
echo $point->asText(); // POINT (1.2345678 2.3456789)

$roundedPoint = $roundProjector->project($point);
$roundedPoint = $point->project($roundProjector);
echo $roundedPoint->asText(); // POINT (1.23 2.35)
```

Expand Down

0 comments on commit 7e36887

Please sign in to comment.