This is a basic question - but seem to be having a hard time getting an answer from the online help.
I want to set a coordinate system when I make a new map pane. You cannot seem to specify when you use the MapFactory and once the map is made the SpatialReference property is readonly.
Could someone point me in the right direction to change or set the spatial ref of a map.
Solved! Go to Solution.
I'm embarrassed how I missed that!
Sample:
var mv = MapView.Active;
Map m = mv.Map;
var WkidValue = 4326;
m.SetSpatialReference(SpatialReferenceBuilder.CreateSpatialReference(WkidValue));