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?
Add a comment |
1 Answer 1
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!
answered Feb 10, 2015 at 12:51
Farid Cheraghi
8,76911 gold badge2525 silver badges5555 bronze badges
Explore related questions
See similar questions with these tags.
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related
Hot Network Questions
- How to find parent ways of nodes
- The Worst Possible Chess Move
- Bash script for manually cleaning up the Traefik access log file and limiting it to a maximum of 50 MB
- Using ASCII Art & pxpic
- What exactly is Kripkenstein?
- Soft drinks in my office’s community fridge keeps disappearing. How to deal with this?
- Why does JavaScript use autoboxing?
- Blind Spot Regarding the Correlation Coefficient
- Does the intersection of a variety with rational singularities with a smooth variety have rational singularities?
- Magic item feedback: Karmic Ring
- When exactly does the game clock start during an American football kickoff?
- Direct object(s)? of "excutit" in Aeneid 12.470
- How do you learn without AI
- Is there a term for the sound the orchestra produces when they tune?
- Manga involving the MC playing a computer game connected to a medieval fantasy world
- Difference between VOR approach (with DME required) and VOR DME approach?
- Fool a program it has a pty of specific size
- Movie about two immortals: a young girl and an older guy. The guy would collect and kill people for the girl to feed on
- Can a magnetic loop antenna be used to communicate through a perfect metal container?
- What is the difference between V-inf+ことない and V-stem+ない
- Creating a spiral
- If photons are the carriers of the electromagnetic force, why isn't electricity made of photons?
- The Airbus A320 that pitched down due to solar radiation recently. Why did that happen? I thought the computers vote the corrupted one out and ignore?
- Status of the tabularray package?
lang-js