If I do the following I will only get the x and y coordinates. How do I get the z coordinates? Btw I have the dted layer cached already.
connect.connect(this.map.root, "onClick", function(evt) {
console.log(evt.mapPoint.x + ", " + evt.mapPoint.y);
});