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

Method getZoom

src/common/overlay/KnowledgeGraph.js:462–464  ·  view source on GitHub ↗

* @function KnowledgeGraph.prototype.getZoom * @description 获取当前视口的缩放比例。 * @return {number} 返回值表示当前视口的缩放比例,默认值为 1。

()

Source from the content-addressed store, hash-verified

460 * @return {number} 返回值表示当前视口的缩放比例,默认值为 1。
461 */
462 getZoom() {
463 return this.graphRender.getZoom();
464 }
465
466 /**
467 * @function KnowledgeGraph.prototype.getMinZoom

Callers 15

WebMapV2Spec.jsFile · 0.45
callbackFunction · 0.45
WebMapSpec.jsFile · 0.45
WebMapV3Spec.jsFile · 0.45
calcIntervalFunction · 0.45
WebMapSpec.jsFile · 0.45
WebMapV3Spec.jsFile · 0.45
calcIntervalFunction · 0.45
nFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected