If not, how would I display a feature Layer with 3D API? Do I have to create a scene layer? Or would I query the feature layer rest endpoint and plot them using x and y.
FeatureLayers work in 3D right now, but they just don't have the query functions built in yet.
for now you can plot http://jsbin.com/perovey/2/edit?html,css,js,output
how would I display a feature Layer with 3D API? Do I have to create a scene layer?
This response is just building off the other two. Yes, you can display a FeatureLayer in the 3D view (SceneView); and no, you do not have to create a SceneLayer to view features in the view.
The question of how to display a FeatureLayer in 3D is up to you. As you can see from Rene Rubalcava's sample, you can use the default rendering of the layer (in this case, I believe SimpleFillSymbols for polygons). "2D" symbols may be draped on top of the basemap. But, as you can probably tell, in beta 1 it behaves kind of weird and flashy.
As you can see from Domenico Ciavarella's sample, he takes advantage of symbols that behave better in 3D.
In short, yes, you can absolutely display FeatureLayers in a SceneView, and there are many ways you can do it. The best way depends on your data and your message.
Thank you all for your answers. Again your prompt replies are greatly appreciated.
Retrieving data ...