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

1309
0
05-09-2016 10:02 PM
kishorekumar1
New Contributor II

                   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

Tags (1)
0 Kudos
0 Replies