0
点赞
收藏
分享

微信扫一扫

Arcgis中设置InfoTemplate不生效 点击多次才显示 设置主动显示InfoTemplate

闲云困兽 2022-03-12 阅读 47
   //#region 标注点击事件
       that.map.graphics.on("click",e=>{ 
           e.stopPropagation();   
           // 在单击标注后 主动控制infoTemplate/标注弹窗 显示
           that.map.infoWindow.show(e.mapPoint);
           that.map.infoWindow.setFeatures([e.graphic]);
       });
   //#endregion  
举报

相关推荐

0 条评论