Hi,
I was wondering if there is a way to toggle the visibility a feature in a KMLLayer? Changing the visibility of graphics in the KMLLayerView (allVisiblePoints, allVisiblePolygons, etc) does nothing and I don't see anything similar to the "applyEdits" method found in a FeatureLayer.
Sean,
Have you looked into KMLSubLayer?
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-KMLSublayer.html
I have looked into KMLSubLayer before but, as far as I know, the best that can do is set the visibility of a folder. I was wondering if there was a way to set the visibility of a single feature/graphic within that folder.
Sean,
Sorry I am not aware of a way to change the visibility of an individual feature.