Hello Dipti,Please check this link contains example+source code..Hope this will help you..thanks...
One thing that jumps out at me - your lat/long values need to be numbers instead of strings. Try entering your lat/longs as numbers in your "treePointInfo" array, or convert the lat/longs to numbers using "parseFloat" when you convert your array into a map.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.