MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / _flat

Function _flat

libs/leaflet/leaflet-src.js:6533–6536  ·  view source on GitHub ↗
(latlngs)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

isFlatFunction · 0.85

Tested by

no test coverage detected