Set map spatial reference This sample demonstrates how you can set the spatial reference on a Map and all the layers would project accordingly.