I am using this example:

705
1
09-07-2016 02:14 PM
CynthiaSchwartz
New Contributor

CSV | ArcGIS API for JavaScript 3.17 

I am using the example above. Instead of Longitude and Latitude, I have columns of Northing and Easting in my csv.  How do I indicate to the API  to look at those columns for displaying the data points.  The projection is NAD UTM zone 10N.

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Cynthia,

   The CSVLayer is expecting the x and y fields to be in geographic coordinates. As far as the field names you can specify the latitudeFieldName and the longitudeFieldName in the CSVLayer constructor:

CSVLayer | API Reference | ArcGIS API for JavaScript 3.17 | Constructor