laptop and a wrench

Bug

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.

Last Published: December 4, 2019 ArcGIS API for JavaScript
Bug ID Number BUG-000126912
SubmittedNovember 21, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.30
Operating SystemN/A
StatusWill Not Be Addressed

Additional Information

There is no plan to address this issue.

Workaround

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

   }

    

  })

Steps to Reproduce

Bug ID: BUG-000126912

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options