AnsweredAssumed Answered

Unable to recreate a map in javascript using jsapi for some tiled map services.

Question asked by MChauhanesriaustralia-com-au-esridist Employee on Aug 6, 2014
Latest reply on Aug 10, 2014 by oearley

I have a custom app that read layer url and its associated properties from a table that exist in my own database and render a map for that layer on a html page. I have some interface that I can use to change some properties of the map and save it back to my own database. In my logic when I save map properties I need to destroy the map and create it again and this is throwing error for me.

"Error: Unable to load status: 0↵ at Error (native)↵ at new m (↵ at XMLHttpRequest.g ("


I have replicated the issue in ArcGIS API for JavaScript Sandbox and the code is attached. The map loaded int first go. When reload button (on top left cornor) is clicked I got above error.


As a requirement of my custom application I need to recreate the map and unable to use some map services e.g.: