laptop and a wrench

Bug

WMS WKID (Web Map Service well-known ID) changes to 102100 in a JavaScript application.

Last Published: May 7, 2019 ArcGIS API for JavaScript
Bug ID Number NIM083536
SubmittedAugust 7, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.0
Program languageJavaScript
StatusWill Not Be Addressed

Additional Information

There are no plans to address this issue.

Workaround

Download the JavaScript API and change the _WEB_MERCATOR parameter in the wms.js file to _WEB_MERCATOR:[3857,102113,900913,102100], and then use the downloaded API in the application.

Or

After creating the object, overwrite the array in order to correctly send the http request: wmsLayer.spatialReferences[0] = 3857;

Steps to Reproduce

Bug ID: NIM083536

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