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

Method addHover

src/common/overlay/levelRenderer/Storage.js:316–320  ·  view source on GitHub ↗

* @function LevelRenderer.Storage.prototype.addHover * @description 添加高亮层数据。 * @param {LevelRenderer.Shape} shape - 图形。 * @return {LevelRenderer.Storage} this。

(shape)

Source from the content-addressed store, hash-verified

314 * @return {LevelRenderer.Storage} this。
315 */
316 addHover(shape) {
317 shape.updateNeedTransform();
318 this._hoverElements.push(shape);
319 return this;
320 }
321
322 /**
323 * @function LevelRenderer.Storage.prototype.delHover

Callers 15

StorageSpec.jsFile · 0.80
constructorMethod · 0.80
findHoverMethod · 0.80
updateHoverLayerMethod · 0.80
addHoverShapeMethod · 0.80
esFunction · 0.80
OsFunction · 0.80
esFunction · 0.80

Calls 2

updateNeedTransformMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected