Get the API
CDN (hosted version)
The recommended approach for accessing the API is to use the hosted version. Reference the API from our CDN (content delivery network) and you are ready to get started.
<link rel="stylesheet" href="https://js.arcgis.com/4.8/esri/css/main.css"> <script src="https://js.arcgis.com/4.8/"></script>
Benefits to working with the hosted version of the API:
- Delivered via a content delivery network (CDN). CDN's are a collection of geographically distributed web servers that deliver content efficiently.
- The servers are load balanced and monitored 24/7.
- No need to download and re-install the API when new versions are released. You just need to modify the script tag in your application to point to the new version.
Using npm for custom builds
npm-scripts) for solving automation workflow issues such as continuous integration. In addition, some developers just want to have more control over their build environment. For more information see the npm or webpack topics in the jsapi-resources repo on GitHub, and read the Using npm for custom builds topic or Using webpack for custom builds.
A web server supporting
|True Type Fonts|
|Web Open Font Format|
|WOFF File Format 2.0|
Note: If you do not have access to the internet, contact Esri Customer Service to have a DVD mailed.