I want to rotate the icon symbol like (in SceneView):
symbol: {
type: 'point-3d', // autocasts as new PointSymbol3D()
symbolLayers: [
{
type: 'icon',
size: 8,
resource: {
href: './assets/images/triangle.png',
}
},
],
},
visualVariables: [
{
type: 'rotation',
field: 'heading',
rotationType: 'geographic',
}
]
My Feature layer elevationInfo mode is : on-the-ground
But it's not working, is it possible to rotate an icon based on visual variable?
If not how am I supposed to do this?
Thanks