CityOfSurrey

Trouble getting geometry of projected point...

Discussion created by CityOfSurrey on Feb 20, 2012
Latest reply on Feb 21, 2012 by ciava.at
I have a simple request to project a point:


var projectedPoint =  gsvc.project([hiddenFacilities], outSR, function(projectedPoints){ 
 pt = projectedPoints[0];
 return(pt);
});

var hiddenFacilitiesGraphic = new esri.Graphic(projectedPoint, markerSymbol, attr); 


How do I get the geometry of projected point.  I can see the coordinates after inspecting projectedPoint in Firebug.  I just can't seem to use the object to create a graphic.

Thanks in advance,

M

Outcomes