4.14 Downloads

Installing the ArcGIS API for JavaScript

Hosting the API locally

The recommended approach for accessing the ArcGIS API for JavaScript is the hosted version on the CDN (Content Delivery Network).

<link rel="stylesheet" href="https://js.arcgis.com/4.14/esri/themes/light/main.css">
<script src="https://js.arcgis.com/4.14/"></script>

However, there are instances where you might want to host a copy of the API locally on your own web server. If your web server is running the Windows® Operating system, read the document on installing the ArcGIS API for JavaScript on Windows. If your web server is running a supported version of the Linux Operating system, read the document on installing the ArcGIS API for JavaScript on Linux. For more information about the API read the Get the API guide topic.

Content