How to get the map's rotation?
Is there any way to get the map's rotation in a workflow?
There is the Get Map activity, but in the JavaScript API rotation is defined on the MapView rather than the Map itself.
I need this because I want to set symbology with a certain compass direction on a graphic. Without the map's rotation, the symbol's angle can only be set relative to the screen.
0
-
Let me write my own answer: Use the Get Scene ViewPoint activity, the result has a rotation property:
=$viewpoint1.viewpoint.rotationThis works for both 2D and 3D views.
0 -
Do you mean that we can add a 3D scene map to a geocotex viewer?
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer