The featureLayer.fullExtent is null when creating a FeatureLayer from a graphics array.
Last Published: October 6, 2016ArcGIS API for JavaScript
Bug ID Number
BUG-000098935
Submitted
August 26, 2016
Last Modified
December 1, 2020
Applies to
ArcGIS API for JavaScript
Version found
4
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
FullExtent is grabbed from the service metadata. Featurelayers from feature collections do not have this. This would make sense why it is not working. What you can try to do is query for the extent from the layer's view. Please see https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryExtent