We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a0fe7 commit 3c255aeCopy full SHA for 3c255ae
src/geojson.js
@@ -14,7 +14,7 @@ function justType(gjType, shpType) {
14
return function (gj) {
15
var oftype = gj.features.filter(isType(gjType));
16
return {
17
- geometries: shpType === 'POLYLINE' ? [oftype.map(justCoords)] : oftype.map(justCoords),
+ geometries: shpType === 'POLYLINE' ? oftype.map(l => [justCoords(l)]) : oftype.map(justCoords),
18
properties: oftype.map(justProps),
19
type: shpType,
20
};
0 commit comments