The featureLayer.fullExtent is null when creating a FeatureLayer from a graphics array.
上次发布: October 6, 2016ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000098935
已提交
August 26, 2016
上次修改时间
December 1, 2020
适用范围
ArcGIS API for JavaScript
找到的版本
4
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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