From 1de23a596f1457db2ea9861645a568e779d7664f Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期五, 19 一月 2024 17:33:52 +0800 Subject: [PATCH] 20240119 --- src/utils/map.js | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/utils/map.js b/src/utils/map.js index f66741d..048a329 100644 --- a/src/utils/map.js +++ b/src/utils/map.js @@ -614,7 +614,7 @@ }) } let nPickFeature = sgworld.Viewer.scene.pick(event.position); - // console.log(nPickFeature); + console.log(nPickFeature); // console.log(event.position);//灞忓箷浣嶇疆 if (!nPickFeature || !nPickFeature.id) { return @@ -660,11 +660,10 @@ nPickFeature.primitive.scale = 1; nPickFeature.primitive.image = window.SmartEarthRootUrl + "Workers/image/point.png"; - //鐐瑰嚮寮规 + //鐐瑰嚮寮规(閮ㄤ欢銆佷紒涓氥�佺洃鎺�) if (nPickFeature.id.tag) { let properties = nPickFeature.id.properties; let propertyNames = nPickFeature.id.properties.propertyNames; - if (propertyNames.indexOf("鐩戞帶鍚�") !== -1) { // objdata = { // POITYPE: "SPJK", @@ -742,8 +741,6 @@ lat: lat, } } - - divPoint3 && divPoint3.deleteObject(); store.setPoplayerShowAction(false); store.setPoplayerListAction({}); @@ -782,6 +779,7 @@ }); return; } + // } // if (nPickFeature.id && nPickFeature.id.name.indexOf('YINJ') != -1) { // divPoint3 && divPoint3.deleteObject(); -- Gitblit v1.9.3