Hi Ivan, you would like an example of a map containing two or more layers, where each layer has its own coordinate system different from the other layers? That's pretty easy.
1) ArcGIS Online layer in Web Mercator (GCS_WGS_1984_Major_Auxiliary_Sphere)
2) A map of Redlands (WGS_1984_UTM_Zone_11N)
3) A GPS tracklog (GCS_WGS_1984)
There's a business requirement to manage the datasets for #2 and #3 in their respective coordinate system, and there's a business requirement to show the datasets on the same map.
BTW, Ivan, I followed your references and manipulated my code as follows:
<CODE>
// Add a RED DIAMOND point in Australia using WGS84 geographic coordinates - Works Now
GraphicsLayer wgslayer = new GraphicsLayer();
wgslayer.addGraphic(
new Graphic(
GeometryEngine.project(new Point(144, -37), SpatialReference.create(4326), SpatialReference.create(102100)),
new SimpleMarkerSymbol(Color.RED, 15, STYLE.DIAMOND))
);
map.addLayer(wgslayer);
</CODE>