Hi
I have a FeatureLayer and display a text with LabelClass. The next thing I tried to achieve is make LabelClass rotated based 'ANGLE' attributes in the feature. For example I would like the text in the bottom-left of below picture to rotate 45 degree, while others stay the same. But I cannot find how to do this.
Please suggest me how to achieve this
Thanks
Woramin S.
Solved! Go to Solution.
Start trying to query the field and use the angle on the TextSymbol. Never done this before so I am not positive this is the answer.
https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html#angle
Start trying to query the field and use the angle on the TextSymbol. Never done this before so I am not positive this is the answer.
https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html#angle
OK , looks like I have to create GraphicsLayer and create each features.