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.17/esri/themes/light/main.css"> <script src="https://js.arcgis.com/4.17/"></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 read the one of the following guides:
Note: If you do not have access to the internet, contact Esri Customer Service to have a DVD mailed.
Hosting a local build
Whether you use npm to create a custom build or download a pre-built version of the API, note that a web server supporting
HTTPS requires the web server to use a web server certificate.
|True Type Fonts|
|Web Open Font Format|
|WOFF File Format 2.0|