Client-side projection

Loading...

Note: Support for 3D on mobile devices may vary, view the system requirements for more information.

This sample demonstrates how the geometries of client side features, whether added as graphics to the MapView or as a client-side FeatureLayer, are automatically projected using the client-side projection module.

The app loads GeoJSON data to the client, creates a FeatureLayer instance from it, and styles it with a renderer. Each GeoJSON feature is converted to a Polygon instance with a WGS84 spatial reference. The MapView projects the data from WGS84 to a projected spatial reference selected by the user.

Sample search results

TitleSample
Loading...