measure method
Returns the projected planar length (typically in pixels) for the
specified GeoJSON object
.
path.measure(california) // 825.7124297512761
Point and MultiPoint geometries have zero length. For Polygon and MultiPolygon geometries, this method computes the summed length of all rings. This method observes any clipping performed by the transform; see GeoProjection.clipAngle and GeoProjection.clipExtent. This is the planar equivalent of geoLength.
Implementation
double measure(Map object) => planar.measure(object, _transformStream);