Skip to content

Commit

Permalink
Update readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed May 6, 2017
1 parent 4bd1387 commit 930ad2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/turf-helpers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var feature = turf.feature(geometry);
//=feature
```

Returns **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)** a FeatureCollection of input features
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)** a GeoJSON Feature

# point

Expand Down
6 changes: 3 additions & 3 deletions packages/turf-polygon-tangents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Finds the tangents of a [(Multi)Polygon](http://geojson.org/geojson-spec.html#po
**Examples**

```javascript
var poly = {
var polygon = {
"type": "Feature",
"properties": {},
"geometry": {
Expand All @@ -28,9 +28,9 @@ var point = {
"coordinates": [61, 5]
}
}
var tangents = turf.polygonTangents(point, poly)
var tangents = turf.polygonTangents(point, polygon)
//addToMap
var addToMap = [tangents];
var addToMap = [tangents, point, polygon];
```

Returns **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** Feature Collection containing the two tangent points
Expand Down

0 comments on commit 930ad2a

Please sign in to comment.