1

I am trying to implement ArcGIS API offline. I have downloaded the zip file from the site and followed the following changes, changed the baseUrl to my Apache IP copied the files to /var/www/html/ and replaced all occurances of https with http in dojo.js and init.js files (My server users http).

After that, I used the HTML code given in the installation isntructions to check if the installation is successful or not.

I tried opening/running the HTML in machines with internet, it worked perfectly, but when I try to run it in machines without internet connect , it shows "Uncaught syntaxError".

Error Screenshot

I feel like it has something to do with "http://www.w3.org/2000/svg" in line number 68 in init.js ,but i dont know how to solve the error.

Edit 1 :- I have tried to understand the error and even remove the code which is causing the Extension. It appears that using catch like catch{} is causing this error. As far as I know, catch(e){} should have been the correct syntax.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.