English
Bug Number BUG-000098935
Submitted Aug 26, 2016
Modified Jun 11, 2020
Severity Medium
Applies To ArcGIS API for JavaScript
Version Found 4.0
Prog Language N/A
Server Platform
Client Platform
Database N/A
Locale N/A
Status Not in Current Product Plan
Version Fixed
SP Fixed

Bug BUG-000098935

Synopsis

The featureLayer.fullExtent is null when creating a FeatureLayer from a graphics array.


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


Alternate Solution