I'm sure this should be easy but i have not been able to find a solution / example :
In my add-in I am bringing in and displaying a new XY point feature layer, with a well known spatial ref.
If the project does not currently have an open map/mapview (eg if a new blank project) then i need to create one - how do i do that via API ?