From 7578c3ff65329b2269f099475eb687e963efac1c Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 27 二月 2024 17:13:29 +0800 Subject: [PATCH] 地图3D模型、折线图和表格三者点击联动效果 --- entity/Factor.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/entity/Factor.js b/entity/Factor.js index 2be87c6..61cd64a 100644 --- a/entity/Factor.js +++ b/entity/Factor.js @@ -17,6 +17,7 @@ this.datas = [] // 鍘熷鏁版嵁 // this.lnglats = [] //3d鍦板浘褰撳墠灞曠ず鍧愭爣鐐规暟缁� this.factorName + this.factorId this.heights = [] //3d鍦板浘褰撳墠灞曠ず鍧愭爣鐐瑰搴旂殑楂樺害鏁扮粍 this.colors = [] // 3d鍦板浘褰撳墠灞曠ず鍧愭爣鐐瑰搴旂殑棰滆壊鏁扮粍 this.bottomColor//鏈�灏忓�煎搴旂殑鍥句緥鑹� @@ -38,6 +39,7 @@ this.originMax = options.originMax this.factorName = options.factorName + this.factorId = options.factorId this.colors = options.colors this.bottomColor = options.bottomColor this.standardMin = options.standardMin @@ -50,6 +52,7 @@ pushData: function(data, drawMode) { if (this.factorName == undefined) { this.factorName = data.factorName + this.factorId = data.factorId } else { if (this.factorName != data.factorName) { console.log("閿欒: Factor涓彃鍏ョ殑鏁版嵁鍓嶅悗鍚嶇О涓嶄竴鑷达紝鍘熷洜瀛愶細" + this.factorName + "锛屾柊鍥犲瓙锛�" + data.factorName); -- Gitblit v1.9.3