AnsweredAssumed Answered

fullExtent of featureLayer created from featureCollection

Question asked by lukepatrick on Feb 4, 2013
Latest reply on Feb 4, 2013 by lukepatrick
Hey,
I'm trying to get the fullExtent of a featureLayer that when first created is based on a featureCollection. As I use the featureLayer I'll be editing it, adding/removing points based on other service queries. Every time I add data I want to zoom the map to the extent of the points on the map, which I would expect to be the featureLayer.fullExtent values. However, this extent value it typically undefined. Here is an example:
http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/fl_featurecollection

Outcomes