I'm working with Arcgis API for javascript. I'd like the map to zoom to the csvlayer I added. However, I can't seem to find the map extent, as layer.extent is undefined. What would be the appopriate way to achieve this? Is there a property of the layer for the extent? I inspected the layer object in IE Developer tool but can't anything useful.