Basemaps with different projections
You can create Basemaps in your ArcGIS Maps SDK for JavaScript applications using a Portal. This sample shows how to add basemaps from a ArcGIS Online group to the BasemapGallery widget. The group used as a PortalBasemapsSource for the BasemapGallery's source property. The group contains basemaps with different projections.
At 4.23, MapView's spatialReference can be changed at runtime by directly setting the MapView's spatialReference or changing the basemap from the BasemapGallery or BasemapToggle widgets.
To disable this option set the MapView.spatialReferenceLocked to true
.