AnsweredAssumed Answered

Error adding a FeatureLayer

Question asked by Sugarray on Feb 16, 2016
Latest reply on Feb 17, 2016 by Yue_Wu-esristaff

I'm getting the following error adding a layer to a map. Error: Unsupported value for parameter: multipatchOption.(…)


I'm trying to add a FeatureLayer to a Map that is displayed in a SceneView. The FeatureLayer was published as a featuresever from ArcGIS Pro. I also published a SceneLayer from the same ArcGIS Pro project and that can be added to a map.

The problem I'm trying to solve is to only show some of the features of the scenelayer. There is no query on SceneLayer, that's why I tried adding the FeatureLayer.


Oddly the error does not come after adding the FeatureLayer, that promise comes back resolved. It fails somewhere in the init.js script. I expeced to see building exteriors after adding this layer, but all I get is the error above.


Here is a short jsFiddle that illustrates the error: Add a FeatureLayer - JSFiddle