laptop and a wrench

Error

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

Última publicación: October 11, 2019 ArcGIS API for JavaScript
Número de ID del error BUG-000125905
EnviadoOctober 10, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.13
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoKnown Limit

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000125905

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga