Skip to content

Commit

Permalink
- doc: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
falahwho committed Jun 2, 2024
1 parent 24ff240 commit b50142d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/basic-usage/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,11 @@ The package supports using a `wkt` string to define the points of the polygon.

wkt could either have the POLYGON string surrounding the points or not, the package adds the string POLYGON if it's not there.

$wkt = 'POLYGON((73.5092 4.1758, 73.5094 4.1758, 73.5094 4.1757, 73.5092 4.1757, 73.5092 4.1758))'
$wkt = 'POLYGON((73.5092 4.1758, 73.5094 4.1758, 73.5094 4.1757, 73.5092 4.1757, 73.5092 4.1758))';

(OR)
$wkt = '(73.5092 4.1758, 73.5094 4.1758, 73.5094 4.1757, 73.5092 4.1757, 73.5092 4.1758)'

$wkt = '(73.5092 4.1758, 73.5094 4.1758, 73.5094 4.1757, 73.5092 4.1757, 73.5092 4.1758)';

:::

Expand Down

0 comments on commit b50142d

Please sign in to comment.