implement rotateBy by specifying an angle in degree#4417
Conversation
Bloaty Results 🐋Compared to main Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-4417-compared-to-main.txtCompared to d387090 (legacy) Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-4417-compared-to-legacy.txt |
|
Benchmark Results ⚡ Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/benchmark-results/pr-4417-compared-to-main.txt |
Bloaty Results (iOS) 🐋Compared to main Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results-ios/pr-4417-compared-to-main.txt |
|
Please provide more context and what you expect this to do and why you need this. Right now, positive values can sometimes rotate clockwise or counterclockwise. Is this what you intended? |
I added the reason to the description. It shall be able to rotate the map using the mouse wheel. What do you mean by "can sometimes rotate clockwise or counterclockwise"? |
|
@Murmele But yes, if you jump small amount with a scroll wheel, then it will do what you expect. If you can add some tests we can merge this I think. |
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
|
Thanks. Yes I will add |
The idea is that you can rotate the map using the scroll wheel of the mouse.