MCPcopy
hub / github.com/ElemeFE/vue-amap / toBounds

Function toBounds

src/lib/utils/convert-helper.js:12–14  ·  view source on GitHub ↗
(arrs)

Source from the content-addressed store, hash-verified

10 * @param arrs 二重数组 southWest, northEast
11 */
12export function toBounds(arrs) {
13 return new AMap.Bounds(toLngLat(arrs[0]), toLngLat(arrs[1]));
14}

Callers 1

convertSignalPropFunction · 0.90

Calls 1

toLngLatFunction · 0.85

Tested by

no test coverage detected