laptop and a wrench

Bogue

The fromExtent() method of polygon class added at ArcGIS API for JavaScript v3.11 returns an error, "polygon.fromExtent is not a function", while adding a polygon.

Dernière publication: July 13, 2015 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000082802
EnvoiOctober 27, 2014
Dernière modificationMarch 30, 2022
S’applique àArcGIS API for JavaScript
Version trouvée3.11
StatutKnown Limit

Informations supplémentaires

The fromExtent() method is a static method on the Polygon class. Instead of creating a new Polygon, do this: Polygon.fromExtent(extent).

Étapes pour reproduire

ID de bogue: BUG-000082802

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