AnsweredAssumed Answered

Failed to achive the rotation on the stream service in Scene View

Question asked by kishorekumar146 on May 9, 2016

                   I am using latest release of ArcGIS api for javascript 4.0.Using the below rotation code I have achieved the rotation of the features of the stream service in 2D view.But I failed to achieve this on the scene view.Please guide me in this regard.

 

code snippet:

var rotRenderer = new SimpleRenderer({

  symbol: picSym,

  visualVariables: [{

    type: "rotation",

    field: "heading",

    rotationType: "geographic"

  }]

});

 

var streamLayer = new StreamLayer({

  url: svcUrl,

  renderer: rotRenderer,

});

 

Regards,

Kishore Kumar

Mobile:9885740944

Outcomes