more than likely you are just "missing" the line. In the query task, you might want to buffer the click geometry before passing it to the query.
I am trying to modify the sample "Query and immediately open info window". I got the sample to open an infoWindow when I click on a polygon. But it does not work for line feature layers. What do I need to do to get it to work?Thanks,Robert
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.