Faizan, When ever the GraphicsLayer is added to the map give it a name and id that way you can find it just like you would any other map layer by using map.getLayer.
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.