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.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.