@turf/within
Advanced tools
Comparing version 4.1.0 to 4.2.0
11
index.js
@@ -77,7 +77,8 @@ var inside = require('@turf/inside'); | ||
* | ||
* //=points | ||
* | ||
* //=searchWithin | ||
* | ||
* //=ptsWithin | ||
* //addToMap | ||
* var addToMap = [points, searchWithin, ptsWithin] | ||
* turf.featureEach(ptsWithin, function (currentFeature) { | ||
* currentFeature.properties['marker-size'] = 'large'; | ||
* currentFeature.properties['marker-color'] = '#000'; | ||
* }); | ||
*/ | ||
@@ -84,0 +85,0 @@ module.exports = function (points, polygons) { |
{ | ||
"name": "@turf/within", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "turf within module", | ||
@@ -35,8 +35,8 @@ "main": "index.js", | ||
"tape": "^3.5.0", | ||
"@turf/helpers": "^4.1.0" | ||
"@turf/helpers": "^4.2.0" | ||
}, | ||
"dependencies": { | ||
"@turf/inside": "^4.1.0", | ||
"@turf/helpers": "^4.1.0" | ||
"@turf/inside": "^4.2.0", | ||
"@turf/helpers": "^4.2.0" | ||
} | ||
} |
@@ -80,7 +80,8 @@ # @turf/within | ||
//=points | ||
//=searchWithin | ||
//=ptsWithin | ||
//addToMap | ||
var addToMap = [points, searchWithin, ptsWithin] | ||
turf.featureEach(ptsWithin, function (currentFeature) { | ||
currentFeature.properties['marker-size'] = 'large'; | ||
currentFeature.properties['marker-color'] = '#000'; | ||
}); | ||
``` | ||
@@ -87,0 +88,0 @@ |
7921
104
114
Updated@turf/helpers@^4.2.0
Updated@turf/inside@^4.2.0