Comparing version 1.1.0 to 1.1.1
@@ -27,2 +27,4 @@ 'use strict'; | ||
function traverseGeoJson(geojson, leafCallback, nodeCallback) { | ||
if (geojson == null) return geojson; | ||
var r = clone(geojson); | ||
@@ -29,0 +31,0 @@ |
{ | ||
"name": "reproject", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Reproject GeoJSON from one projection/CRS to another", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:perliedman/reproject.git", |
@@ -325,2 +325,10 @@ 'use strict'; | ||
}); | ||
it('handles null geometry', function() { | ||
var gj = { | ||
'type': 'Feature', | ||
'geometry': null | ||
}; | ||
expect(reproj.reproject(gj, sweref99tm, rt90)).to.be.geojson(gj, 0); | ||
}) | ||
}); | ||
@@ -327,0 +335,0 @@ |
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
26872
676