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

Method addTFEvents

src/mapboxgl/overlay/theme/ThemeLayer.js:403–410  ·  view source on GitHub ↗

* @function ThemeLayer.prototype.addTFEvents * @description 将事件监听添加到图层。 * @private

()

Source from the content-addressed store, hash-verified

401 * @private
402 */
403 addTFEvents() {
404 var tfEs = this.TFEvents;
405 var len = tfEs.length;
406 for (var i = 0; i < len; i++) {
407 this.renderer.on(tfEs[i][0], tfEs[i][1]);
408 }
409
410 }
411
412 /**
413 * @function ThemeLayer.prototype.getLocalXY

Callers 1

onAddMethod · 0.95

Calls 1

onMethod · 0.45

Tested by

no test coverage detected