How to zoom to the center of a drawn circle on the map

Discussion created by fuliaoli on Jan 30, 2014
Latest reply on Jan 30, 2014 by fuliaoli
I want to draw a circle on the map and zoom to the center of the circle. I got the drawing result which contains a geometry of rings, spatialReference and type. Then I used polygon.getCentroid() to get the center of it and zoom to it. However, it didn't work. It zooms to Africa instead of within US. 
What did I do wrong here?