Skip to content

Commit

Permalink
Document toGeoJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
anandthakker committed Apr 12, 2015
1 parent c6f6d83 commit dc27d43
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 dc27d43

Please sign in to comment.