Create layer in arcgis online through javascript api

851
2
Jump to solution
06-06-2017 08:10 PM
KamalMittal
New Contributor III

Hi,

Is there any api or method in ArcGIS JavaScript 3.20 API  where I will pass csv data and create layer in arcgis online?.

Right now to create layer there is only one option. We have to go arcgisonlne.com site and have to upload csv file. I am just looking that how we can create layer through Javascript 3.0 api.

Thanks,

Kamal 

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Kamal,

   Have you seen the CSVLayer class?

CSVLayer | API Reference | ArcGIS API for JavaScript 3.20 

0 Kudos
KamalMittal
New Contributor III

Thanks Robert

0 Kudos