laptop and a wrench

Bogue

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

Dernière publication: October 6, 2016 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000098935
EnvoiAugust 26, 2016
Dernière modificationDecember 1, 2020
S’applique àArcGIS API for JavaScript
Version trouvée4
StatutWill Not Be Addressed

Informations supplémentaires

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

Étapes pour reproduire

ID de bogue: BUG-000098935

Logiciel:

  • ArcGIS API for JavaScript

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement

En savoir plus sur ce sujet