laptop and a wrench

Bogue

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'.

Dernière publication: October 11, 2019 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000125905
EnvoiOctober 10, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.13
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutKnown Limit

Informations supplémentaires

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

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000125905

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement