How do you get the extent and center of your current view?

Discussion created by sacrot2 on Jun 6, 2013
Latest reply on Jun 6, 2013 by btfou
I am trying to get the center point (lat, and long) of my current view.

I tried mymap.extent.getCenter(); but that doesnt seem to work.  Any ideas?