(coordinates, stream)
| 132040 | stream.lineEnd(); |
| 132041 | } |
| 132042 | function streamPolygon(coordinates, stream) { |
| 132043 | var i = -1, n = coordinates.length; |
| 132044 | stream.polygonStart(); |
| 132045 | while(++i < n)streamLine(coordinates[i], stream, 1); |
| 132046 | stream.polygonEnd(); |
| 132047 | } |
| 132048 | exports.default = function(object, stream) { |
| 132049 | if (object && streamObjectType.hasOwnProperty(object.type)) streamObjectType[object.type](object, stream); |
| 132050 | else streamGeometry(object, stream); |
no test coverage detected