AnsweredAssumed Answered

How to rotate a map on desktop pc?

Question asked by paul.haakma on Sep 30, 2015
Latest reply on Oct 4, 2015 by paul.haakma

How do you rotate a map on a desktop pc (am using Windows)?

 

On touch devices, there is a property that you can set to allow rotating the map by twisting using two fingers:

 

map.rotationByPinchingEnabled

 

I tried using a button that on clicked would set the map.rotation property which sort of works but ends up with a weird effect where the rectangle representing the map rotates leaving whitespace around the edge as per the attached screenshot. There must be another method?

 

maprotation.png

Outcomes