laptop and a wrench

Error

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.

Última publicación: December 4, 2019 ArcGIS API for JavaScript
Número de ID del error BUG-000126912
EnviadoNovember 21, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.30
Sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

There is no plan to address this issue.

Solución alternativa

  • 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}})

   }

    

  })

Pasos para reproducir

ID del error: BUG-000126912

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga