(latlngs)
| 6531 | } |
| 6532 | |
| 6533 | function _flat(latlngs) { |
| 6534 | console.warn('Deprecated use of _flat, please use L.LineUtil.isFlat instead.'); |
| 6535 | return isFlat(latlngs); |
| 6536 | } |
| 6537 | |
| 6538 | /* @function polylineCenter(latlngs: LatLng[], crs: CRS): LatLng |
| 6539 | * Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the passed LatLngs (first ring) from a polyline. |