AnsweredAssumed Answered

How can you change Graphic.visible in 4.10

Question asked by kriskaplan on Feb 5, 2019
Latest reply on Jun 5, 2020 by tkirk@forwardslope

Prior to 4.10, Graphic client side features added to a FeatureLayer could be hidden and shown by toggling the Graphic.visible property, but this no longer appears to work in 4.10.  I have tried changing 'visible' and calling FeatureLayer.applyEdits in the 'updateFeatures' value, but this does not appear to modify the property value (nor change the visibility).

 

I know I can remove and re-add the feature from the layer instead of toggle the visibility, but for a few reasons it would be more convenient to just toggle the visibility.  Is this still possible in 4.10?

 

Kris

Outcomes