Hide Table of Contents
About the API
Getting Started
Working with the API
Popups and Info Windows
Using the RouteTask
Using the Geoprocessor
Mobile
Recommendations
ArcGIS Server Services
What's New archive
The JavaScript API is hosted by ESRI on ArcGIS Online and is available for free use, subject to the Terms and Conditions.
The recommended approach for accessing the API is to use the hosted version by adding the following script tag to your page:
<script src="http://js.arcgis.com/3.6/"></script>There are several benefits to working with the hosted version of the API.
The ArcGIS API for JavaScript is available securely over https. You will need to peform the following steps to access the API via https:
<script src="https://js.arcgis.com/3.6/"></script>
In some cases, you may need to use a local version, for example, if you are in a restricted environment with no internet access. You can also download and install the SDK which includes the API reference, samples and documentation. The SDK is a snapshot of the help at the time of the release and will not include sample updates, documentation fixes etc.
To download and install the API and SDK navigate to the ArcGIS API for JavaScript download page and log-in with your ESRI global account.
Note: If you do not have access to the internet, contact ESRI Customer Service to have a DVD mailed.