@turf/helpers
Advanced tools
Comparing version 3.5.2 to 3.5.3
@@ -35,3 +35,3 @@ /** | ||
* @name point | ||
* @param {number[]} coordinates longitude, latitude position (each in decimal degrees) | ||
* @param {Array<number>} coordinates longitude, latitude position (each in decimal degrees) | ||
* @param {Object=} properties an Object that is used as the {@link Feature}'s | ||
@@ -241,3 +241,3 @@ * properties | ||
* @param {Object=} properties an Object of key-value pairs to add as properties | ||
* @returns {Feature<GeometryCollection>} a geometrycollection feature | ||
* @returns {Feature<GeometryCollection>} a GeoJSON GeometryCollection Feature | ||
* @example | ||
@@ -252,3 +252,3 @@ * var pt = { | ||
* }; | ||
* var collection = turf.geometrycollection([[0,0],[10,10]]); | ||
* var collection = turf.geometryCollection([pt, line]); | ||
* | ||
@@ -255,0 +255,0 @@ * //=collection |
{ | ||
"name": "@turf/helpers", | ||
"version": "3.5.2", | ||
"version": "3.5.3", | ||
"description": "turf geometries", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "tape test.js" | ||
"test": "tape test.js && tsc index.d.ts" | ||
}, | ||
@@ -26,6 +26,9 @@ "repository": { | ||
"devDependencies": { | ||
"@types/geojson": "0.0.31", | ||
"benchmark": "^1.0.0", | ||
"tape": "^3.5.0" | ||
"tape": "^3.5.0", | ||
"typescript": "^2.0.7" | ||
}, | ||
"dependencies": {} | ||
"dependencies": {}, | ||
"types": "index.d.ts" | ||
} |
@@ -225,3 +225,3 @@ # @turf/helpers | ||
}; | ||
var collection = turf.geometrycollection([[0,0],[10,10]]); | ||
var collection = turf.geometryCollection([pt, line]); | ||
@@ -231,3 +231,3 @@ //=collection | ||
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[GeometryCollection](http://geojson.org/geojson-spec.html#geometrycollection)>** a geometrycollection feature | ||
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[GeometryCollection](http://geojson.org/geojson-spec.html#geometrycollection)>** a GeoJSON GeometryCollection Feature | ||
@@ -234,0 +234,0 @@ <!-- This file is automatically generated. Please don't edit it directly: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32151
9
648
4