群集标签不可见-Arcgis JavaScript API 4.19
当我们在该标签之后从组层中删除所有层时,所有图层都不可见。
我们尝试“加载”方法组层仍然存在。我也尝试了ArcGIS API 4.22。
我们在同一问题上创建了一个POC: 步骤
从展开传奇(左侧)单击第1组,然后单击第2组。
现在展开TOC(右侧)并扩展预定义的组层,然后单击“意外死亡”层的DEL按钮(红色背景)。
现在重新打开TOC,然后单击所有图层的群集按钮。
示例代码重现问题
问题 - 当我们从组层中删除一层时,为什么不可见标签。
When we remove any layer from the group layer after that label are not visible for all layers.
We tried to 'loadAll' method group layers still issue is there. I tried with ArcGIS API 4.22 also.
We created one POC on the same issue:
Steps
From Expand Legend (left side) click Group 1 and then click Group 2 once.
Now expand TOC (right side) and expand predefined group layer and click on del button (red background) for layer 'Accidental Deaths'.
Now re-open TOC and click on the cluster button for all layers.
You will observe labels are not visible on cluster points.
Below issue screenshot
Sample Code to reproduce the issue
Question- why labels are not visible when we remove one layer from the group layer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个错误,并且已在ArcGIS版本4.23上解决。
It's a bug, and it's resolved on ArcGIS version 4.23.