Comparing version 3.7.3 to 3.7.5
12
index.js
@@ -13,5 +13,5 @@ var inside = require('@turf/inside'); | ||
* @example | ||
* var pt1 = point([-77, 44]); | ||
* var pt2 = point([-77, 38]); | ||
* var poly1 = polygon([[ | ||
* var pt1 = turf.point([-77, 44]); | ||
* var pt2 = turf.point([-77, 38]); | ||
* var poly1 = turf.polygon([[ | ||
* [-81, 41], | ||
@@ -23,3 +23,3 @@ * [-81, 47], | ||
* ]], {pop: 3000}); | ||
* var poly2 = polygon([[ | ||
* var poly2 = turf.polygon([[ | ||
* [-81, 35], | ||
@@ -32,4 +32,4 @@ * [-81, 41], | ||
* | ||
* var points = featureCollection([pt1, pt2]); | ||
* var polygons = featureCollection([poly1, poly2]); | ||
* var points = turf.featureCollection([pt1, pt2]); | ||
* var polygons = turf.featureCollection([poly1, poly2]); | ||
* | ||
@@ -36,0 +36,0 @@ * var tagged = turf.tag(points, polygons, |
{ | ||
"name": "@turf/tag", | ||
"version": "3.7.3", | ||
"version": "3.7.5", | ||
"description": "turf tag module", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/inside": "^3.7.3" | ||
"@turf/inside": "^3.7.5" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
@@ -17,5 +17,5 @@ # @turf/tag | ||
```javascript | ||
var pt1 = point([-77, 44]); | ||
var pt2 = point([-77, 38]); | ||
var poly1 = polygon([[ | ||
var pt1 = turf.point([-77, 44]); | ||
var pt2 = turf.point([-77, 38]); | ||
var poly1 = turf.polygon([[ | ||
[-81, 41], | ||
@@ -27,3 +27,3 @@ [-81, 47], | ||
]], {pop: 3000}); | ||
var poly2 = polygon([[ | ||
var poly2 = turf.polygon([[ | ||
[-81, 35], | ||
@@ -36,4 +36,4 @@ [-81, 41], | ||
var points = featureCollection([pt1, pt2]); | ||
var polygons = featureCollection([poly1, poly2]); | ||
var points = turf.featureCollection([pt1, pt2]); | ||
var polygons = turf.featureCollection([poly1, poly2]); | ||
@@ -40,0 +40,0 @@ var tagged = turf.tag(points, polygons, |
7496
Updated@turf/inside@^3.7.5