Note: this is a downloaded and locally hosted version of the documentation for ArcGIS API for JavaScript version 4.9. The most current documentation is available at js.arcgis.com.

Build 2D and 3D web apps!

The 4.x series of the ArcGIS API for JavaScript integrates 2D and 3D into a single, easy-to-use, powerful mapping API. Create 3D maps as easily as 2D maps, seamlessly integrate your web GIS and build influential data-driven visualizations.
Learn about 4.9
// Reference the JavaScript API from our CDN and you are ready to get started:
<link rel="stylesheet" href="https://js.arcgis.com/4.9/esri/css/main.css">
<script src="https://js.arcgis.com/4.9/"></script>

Need to build a full-featured 2D web app with capabilities such as editing and support for all existing layer types?

Go to 3.26

Choosing a version

Create your first app.

Create your first app

Get started building your first app with a 3D scene or a 2D map.

Build a great user experience.

Build a great user experience

The API provides the tools for you to build a great user experience that will work well with any screen size.

Integrate with ArcGIS.

Integrate with ArcGIS

Build web apps powered by web scenes and web maps to create compelling apps with a few lines of code.

Connect with ArcGIS API for JavaScript