Hello,
can anyone help me,
Our intention is to provide the rotation of map in our 2D web Maps. Is there already available ready to use widget ? so that I can download and use it in my WAB dev edition?
I want to add or modify the compass code for 2D maps as shown in below script
![Aneel_Kumar_M_0-1660112352247.png Aneel_Kumar_M_0-1660112352247.png](https://community.esri.com/t5/image/serverpage/image-id/48214iBD95B7262EE2FC9A/image-size/large?v=v2&px=999)
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-compass-2d
Our intention is to provide our end users, the rotation of map in our 2D web Maps
if possible, where can I set the
" view.constraints = { rotationEnabled: true}; "
![Aneel_Kumar_M_1-1660112351619.png Aneel_Kumar_M_1-1660112351619.png](https://community.esri.com/t5/image/serverpage/image-id/48215iEF4C6DA884C7B99C/image-size/medium?v=v2&px=400)
https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#rotation
please advise and help, thank you,
thank you