laptop and a wrench

漏洞

FeatureLayer polyline label placement error when choosing anything but center-along: '[esri.views.2d.engine.webgl.WGLMeshFactory] Found invalid label placement type center-end for esriGeometryPolyline. Defaulting to center-along'.

上次发布: October 11, 2019 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000125905
已提交October 10, 2019
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.13
操作系统Windows OS
操作系统版本10.0
状态Known Limit

附加信息

This is a known limitation for FeatureLayer Polylines stated in the documentation: "FeatureLayer Polylines only support center-along label placement in 2D MapViews." See Known Limitation section for the labelPlacement property: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelPlacement

解决办法

Set the placement to 'center-along' stops the error.

重现步骤

漏洞 ID: BUG-000125905

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项