群集标签不可见-Arcgis JavaScript API 4.19

发布于 2025-01-23 06:48:18 字数 864 浏览 3 评论 0原文

当我们在该标签之后从组层中删除所有层时,所有图层都不可见。

我们尝试“加载”方法组层仍然存在。我也尝试了ArcGIS API 4.22。

我们在同一问题上创建了一个POC: 步骤

  1. 从展开传奇(左侧)单击第1组,然后单击第2组。

  2. 现在展开TOC(右侧)并扩展预定义的组层,然后单击“意外死亡”层的DEL按钮(红色背景)。

  3. 现在重新打开TOC,然后单击所有图层的群集按钮。

您将观察到标签在集群点上不可见。 以下是发行屏幕截图

示例代码重现问题

https://stackblitz.com/edit/Edit/Edit/eDit/Edgular-cli-esri-sri-map3-p7bpym?file = src%2fapp%2fesri-map %2fesri-map.component.ts

问题 - 当我们从组层中删除一层时,为什么不可见标签。

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

  1. From Expand Legend (left side) click Group 1 and then click Group 2 once.

  2. Now expand TOC (right side) and expand predefined group layer and click on del button (red background) for layer 'Accidental Deaths'.

  3. 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
enter image description here

Sample Code to reproduce the issue

https://stackblitz.com/edit/angular-cli-esri-map3-p7bpym?file=src%2Fapp%2Fesri-map%2Fesri-map.component.ts

Question- why labels are not visible when we remove one layer from the group layer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冰雪之触 2025-01-30 06:48:18

这是一个错误,并且已在ArcGIS版本4.23上解决。

It's a bug, and it's resolved on ArcGIS version 4.23.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文