| Numéro d’ID de bogue |
BUG-000139786 |
| Envoi | May 10, 2021 |
| Dernière modification | May 29, 2025 |
| S’applique à | ArcGIS Runtime SDK |
| Version trouvée | 100.11 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
The issue is reported as designed. Label placement and angle follow some rules. If the textLayout is straight or perpendicular, then the label will be positioned and oriented using the (placementPosition or labelAngle) + featureSymbol.angle.
So if the default labelPlacement is AboveRight, then the rotation angle of 55 degrees is added or removed from that.
For this particular bug, please add 'textLayout':'straight' to label json. This will allow angles to be honored by labels in a point layer.
Solution de contournement
Add 'textLayout':'straight' to the label JSON. This property enables an angle to be applied to labels in a point layer.
Étapes pour reproduire