Skip to content

Commit

Permalink
update readme for new signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmach committed May 10, 2022
1 parent 082aab3 commit 8111e99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maptile/tilecover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ which is a port from Google's S2 library. The same set of tests pass.

```go
poly := orb.Polygon{}
tiles := tilecover.Geometry(poly, zoom)
tiles, err := tilecover.Geometry(poly, zoom)
if err != nil {
// indicates a non-closed ring
}

for t := range tiles {
// do something with tile
Expand Down

0 comments on commit 8111e99

Please sign in to comment.