Select to view content in your preferred language

Linking to local copy of Arcgis API

884
3
10-21-2010 10:44 AM
GavinTrowles
Emerging Contributor
Hi

I am wanting to link to a local copy of the javascript API that I have downloaded and I dont really know where to start. Any help would be much appreciated.

Thanks
0 Kudos
3 Replies
HeribertoMantilla_Santamaría
Deactivated User
Hi

If you download the JS API Package open the file i.e. Default.ashx and view the source code.

Or add in the head section code this

[HTML]
<script type="text/javascript" src="http://<myserver>/arcgis_js_api/library/2.1/arcgis/"></script>
[/HTML]
0 Kudos
derekswingley1
Deactivated User
Unzip the SDK and follow the instructions in arcgis_js_api/library/install.htm.
0 Kudos
AxelSchaefer
Emerging Contributor
Unzip the SDK and follow the instructions in arcgis_js_api/library/install.htm.


To avoid confusion: The installation document is in the arcgis_js_v21_api.zip archive not the arcgis_js_v21_sdk.zip. Look in the folder, Derek mentioned. 🙂
0 Kudos