Select to view content in your preferred language

How to rotate an marker in a scene view?

609
1
07-04-2018 04:31 AM
EduardoMendes1
New Contributor

 I can do it in a 2d map using "angle", but that does not work in a 3d map.

Example that works in 2d, but not in a SceneView(3d):

// autocasts as new SimpleMarkerSymbol()

var marker = {
    type: "simple-marker",
    style: "cross",
    angle: 85
};

Tags (3)
0 Kudos
1 Reply
ReneRubalcava
Honored Contributor

Doesn't look like angle for markers is supported in 3D.

SimpleMarkerSymbol | API Reference | ArcGIS API for JavaScript 4.7