MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / getHeight

Method getHeight

src/common/commontypes/Bounds.js:208–210  ·  view source on GitHub ↗

* @function Bounds.prototype.getHeight * @description 获取 bounds 的高度。 * @example * var bounds = new Bounds(-180,-90,100,80); * //height = 170; * var height = bounds.getHeight(); * @returns {number} 边界高度(top 减去 bottom)。

()

Source from the content-addressed store, hash-verified

206 * @returns {number} 边界高度(top 减去 bottom)。
207 */
208 getHeight() {
209 return (this.top - this.bottom);
210 }
211
212 /**
213 * @function Bounds.prototype.getSize

Callers 15

getSizeMethod · 0.95
RenderSpec.jsFile · 0.45
PainterSpec.jsFile · 0.45
Util.jsFile · 0.45
tileUrlFunctionMethod · 0.45
zxyTileUrlFunctionMethod · 0.45
ztFunction · 0.45
bnFunction · 0.45
JtFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected