AnsweredAssumed Answered

Query Task with 3D Scene

Question asked by namoraj96 on Nov 28, 2018
Latest reply on Nov 29, 2018 by namoraj96

I am trying to Display Object symbol layer after performing query task on feature data layer. 

I have a feature layer URL which one am using for query task and then eventually this result displays on map in scene view. In this layer there is files INVERT-ELEVATION which gives value for depth of the Vertical pipes.

But i cant able to display all these pipes proportional to the field INVERT-ELEVATION.

 

Please feel free to ask any questions. Thanks..

if(22layer.value === 'Layer22'){
    feature.symbol = {
        type: "point-3d",
        symbolLayers: [{
            type: "object",
            resource: {
               primitive: "cylinder"
   },
   anchor: "bottom",
   material: {
      color: "red"
   },
   width: 100
   }],
visualVariables: [{
      type: "size",
      field: "INVERTELEVATION",
      axis: "height",
      valueUnit: "meters"
}]
};
feature.popupTemplate = Layer22PopupTemp;
}

Outcomes