(coordinates, listener)
| 2060 | listener.lineEnd(); |
| 2061 | } |
| 2062 | function d3_geo_streamPolygon(coordinates, listener) { |
| 2063 | var i = -1, n = coordinates.length; |
| 2064 | listener.polygonStart(); |
| 2065 | while (++i < n) d3_geo_streamLine(coordinates[i], listener, 1); |
| 2066 | listener.polygonEnd(); |
| 2067 | } |
| 2068 | d3.geo.area = function(object) { |
| 2069 | d3_geo_areaSum = 0; |
| 2070 | d3.geo.stream(object, d3_geo_area); |
no test coverage detected