TransWikia.com

init.js:36 GET https://js.arcgis.com/3.28/esri/WebMap.js net::ERR_ABORTED 404

Geographic Information Systems Asked by dkm007 on June 20, 2021

I got above error in my browser developer tools window. This happened when I added esri/WebMap to my widget.js file of custom widget I was building.

One Answer

The WebMap class is new in the 4.x version of the ArcGIS API of JavaScript.

To work with webmaps in 3x version there were utility methods like createMap as described at https://developers.arcgis.com/javascript/3/jshelp/intro_webmap.html

Maybe you are trying to use sample code from 4x in 3x. That will not work.

Answered by Bjorn Svensson on June 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP