CSVLayer - Project points on the fly
This sample demonstrates how a CSVLayer can re-project client-side to other spatial references. The raw data of the CSVLayer contains latitude/longitude coordinates, but the SpatialReference of the MapView is a South Pole Stereographic projection. Notice that you don't have to do anything extra to take advantage of this functionality; the projection is handled internally using the client-side projection engine.
The browser must support WebAssembly if a spatial reference other than WGS84 or Web Mercator is specified.