Select to view content in your preferred language

Wanna apply hitTest on two FeatureLayers in sceneview using ArcGIS API for JS where 1 FeatureLayer hit another then 2nd FeatureLayer get highlighted?

616
0
01-29-2022 12:58 AM
Labels (1)
ShatarupaGhosh
New Contributor

In Arcgis API for JS I'm working in sceneview with hitTest(), and I want one FeatureLayer to get highlighted automatically when another FeatureLayer hits the first FeatureLayer. One of the FeatureLayer is Pole and another one is electric line. Height of electric line is constant and Pole is changing. So when the Pole touches the electric line that tree must get highlighted and the intersected area of electric line must get highlighted.

0 Kudos
0 Replies