laptop and a wrench

Bogue

Fail to load a web map and the error message, "Provide a geometry service to open Web Map” is returned when center and zoom properties are set in mapOptions.

Dernière publication: December 4, 2019 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000126912
EnvoiNovember 21, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.30
Système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

There is no plan to address this issue.

Solution de contournement

  • Use ArcGIS API for Java Script API 3.28 or previous versions.
  • Use the extent property exclusively in .mapOption as shown in the code snippet below:

var deferred = arcgisUtils.createMap(webMapItemID, "viewDiv", {

   mapOptions: {

    center: [-93.3, 45.0],

    zoom: 10,

    slider: true,

    extent: new Extent({xmin:-20098296,ymin:-2804413,xmax:5920428,ymax:15813776,spatialReference:{wkid:102100}})

   }

    

  })

Étapes pour reproduire

ID de bogue: BUG-000126912

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

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