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

Method getBoundsFromConrner

src/openlayers/mapping/WebMap.js:1650–1655  ·  view source on GitHub ↗
(lower, upper)

Source from the content-addressed store, hash-verified

1648 return this.getRequestUrl(url, proxy);
1649 }
1650 getBoundsFromConrner(lower, upper) {
1651 const bottomLeft = lower.split(' '),
1652 topRight = upper.split(' ');
1653 const bounds = bottomLeft.concat(topRight);
1654 return [+bounds[0], +bounds[1], +bounds[2], +bounds[3]];
1655 }
1656 /**
1657 * @private
1658 * @function WebMap.prototype.getWmtsInfo

Callers 1

getWmtsInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected