Aller au contenu principal

How to achieve Map rotation?

Commentaires

3 commentaires

  • Cam Barnard

    In case you haven't figured this out yet...

     

    On non-Touch, hold the right-button on your mouse and drag to rotate.

     

    On Touch, two fingers spread slightly apart and rotate fingers.

    0
  • Wout Peters

    Hi Cam Barnard,

    Is it possible to rotate the (2D) map from a workflow?

    I tried the setSceneViewpoint, but I guess that is for 3D (although the getSceneViewpoint works) only?

    I also looked into a runCommand with "map.rotate-to", but I can't figure out what the argument (mapRotateArg) should look like.

    0
  • Cam Barnard

    Wout Peters

    Here is an example of the right format for that command.

     
    [
      {
        "name": "map.rotate-to",
        "arguments": {
          "rotation": "90"
        }
      }
    ]
    0

Vous devez vous connecter pour laisser un commentaire.