AnsweredAssumed Answered

Get extent of CsvLayer

Question asked by maryland101 on Oct 2, 2014
Latest reply on Oct 2, 2014 by maryland101

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.