Hi, I made application with map and geolocate position. I want display arrow who indicate if we go in good or wrong direction. I have dregree for direction, but can’t find how use css tranform rotation degree.
Like this: " transform: rotate(7deg);".
Thanks for your help
After many search I found the solution…
In my template use: [style.transform]="degreeStyle" and in typescript simply use: this.degreeStyle = ‘rotate(’ + pourcentageVarHere + ‘deg)’;
Update degreeStyle when you need.
Excellent bro… love u…it worked fine…