What way to use the Uniquevaluerenderer's rotationinfo value to set a symbols angle?
Is it as simple as getting the attribute value for the rotationinfo's field value and then using that value to set the symbol's angle of setAngle?
the type is geographic.
The rotation doesn't seem to be coming in right.
Are there some transformations to be aware of?
Solved! Go to Solution.
Just used symbol's setAngle and seems to work...
There's a sample in the help that shows how to set the rotation info.
Color ramp with rotation and proportional symbols | ArcGIS API for JavaScript
Is it possible to manually set the rotation?
The sample seems to use renderer's setRotationInfo to define the field that has the rotation value.
If I have this value and want to manually set the rotation of a given symbol, is this possible?
The rotationinfo defines the field and the type = "geographic". The field can be used to get the hard value.
Now just need to rotate the symbol.
Just used symbol's setAngle and seems to work...