2

I'm pretty new to arcgis javascript api, and I'm wondering how to run it locally. I have downloaded the api, and put the folder "arcgis_js_api" in the root folder of my apachi server, and edited the files "init.js" and "dojo.js" and replace the strings '[HOSTNAME_AND_PATH_TO_JSAPI]dojo' to 'localhost/arcgis_js_api/library/3.12/3.12/' as said in the documentation. But still it won't work. am I missing something?

1 Answer 1

2

you must replace '[HOSTNAME_AND_PATH_TO_JSAPI]dojo' with 'localhost/arcgis_js_api/library/3.12/3.12/dojo'.

you are missing the dojo part!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.