CSVLayer lat/lon field name detection broken in 4.6

Discussion created by tenhavej on Dec 18, 2017

It appears that automatic detection for CSVLayer.longitudeField and CSVLayer.latitudeField is not working in version 4.6 of the JSAPI.


The first row of my CSV file contains something like the following:



When the CSVLayer is loaded with version 4.5, longitudeField and latitudeField are set to "longitude" and "latitude", respectively. Neither field contains a value when the layer is loaded with 4.6.