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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.