Skip to content

Commit

Permalink
Merge pull request #27 from anandthakker/master
Browse files Browse the repository at this point in the history
Document toGeoJSON
  • Loading branch information
jfirebaugh committed Apr 13, 2015
2 parents c6f6d83 + dc27d43 commit 3263ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ An object that contains the data for a single feature.
- **loadGeometry()** — parses feature geometry and returns an array of
[Point](https://github.com/mapbox/point-geometry) arrays (with each point having `x` and `y` properties)
- **bbox()** — calculates and returns the bounding box of the feature in the form `[x1, y1, x2, y2]`
- **toGeoJSON(x, y, z)** — returns a GeoJSON representation of the feature. (`x`, `y`, and `z` refer to the containing tile's index.)

0 comments on commit 3263ad9

Please sign in to comment.