(coordinates, stream)
| 9900 | } |
| 9901 | |
| 9902 | function streamPolygon(coordinates, stream) { |
| 9903 | var i = -1, n = coordinates.length; |
| 9904 | stream.polygonStart(); |
| 9905 | while (++i < n) streamLine(coordinates[i], stream, 1); |
| 9906 | stream.polygonEnd(); |
| 9907 | } |
| 9908 | |
| 9909 | function geoStream(object, stream) { |
| 9910 | if (object && streamObjectType.hasOwnProperty(object.type)) { |
no test coverage detected