CSVLayer - Project points on the fly

Explore in the sandboxView live

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.

Known Limitations

The browser must support WebAssembly if a spatial reference other than WGS84 or Web Mercator is specified.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.