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

Function toBounds

libs/leaflet/leaflet-src.js:1189–1194  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

1187 // @factory L.bounds(points: Point[])
1188 // Creates a Bounds object from the given array of points.
1189 function toBounds(a, b) {
1190 if (!a || a instanceof Bounds) {
1191 return a;
1192 }
1193 return new Bounds(a, b);
1194 }
1195
1196 /*
1197 * @class LatLngBounds

Callers 1

leaflet-src.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected