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

Method addTFEvents

src/openlayers/overlay/theme/Theme.js:463–469  ·  view source on GitHub ↗

* @function Theme.prototype.addTFEvents * @description 将图层添加到地图上之前用户要求添加的事件监听添加到图层。 * @private

()

Source from the content-addressed store, hash-verified

461 * @private
462 */
463 addTFEvents() {
464 var tfEs = this.TFEvents;
465 var len = tfEs.length;
466 for (var i = 0; i < len; i++) {
467 this.renderer.on(tfEs[i][0], tfEs[i][1]);
468 }
469 }
470
471 /**
472 * @function Theme.prototype.getLocalXY

Callers 2

constructorMethod · 0.95
ThemeLayer.jsFile · 0.45

Calls 1

onMethod · 0.45

Tested by

no test coverage detected