GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Esri Developer
  • Documentation
  • ArcGIS Maps SDK for JavaScript
  • Sample Code
  • References
  • Showcase
  • Blogs
  • v5.1
  • v4.34
  • More versions
  • Get started
  • Tutorials
  • FAQ
  • Resources

This view

  • Original page
  • New address

GeezerVison is showing developers.arcgis.com — ArcGIS Maps SDK for JavaScript

▾
We’d like your feedback on the Markdown documentation. If something doesn’t look right, please select “No” under “Was this page helpful?” and describe the Markdown issue in your feedback.

Current version: 5.2 (November 2026)

This guide describes how to use the ArcGIS Maps SDK for JavaScript ArcGIS Maps SDK for JavaScript, previously known as ArcGIS API for JavaScript, is a developer product for building mapping and spatial analysis applications for the web. Learn more to build highly interactive 2D and 3D mapping applications, with fast rendering, data-driven visualization, and ready-to-use components for common mapping workflows.

Simple map with the ArcGIS/Navigation basemap style and UI components
22 collapsed lines
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>ArcGIS Maps SDK for JavaScript: Display a map</title>
<style>
html,
body {
height: 100%;
margin: 0;
}
</style>
<script>
globalThis.esriConfig = {
apiKey: "YOUR_ACCESS_TOKEN",
};
</script>
<script type="module" src="https://js.arcgis.com/5.2/"></script>
</head>
<body>
<arcgis-map basemap="arcgis/navigation" center="-10, 30" zoom="1">
<arcgis-zoom slot="top-left"></arcgis-zoom>
<arcgis-search slot="top-right"></arcgis-search>
<arcgis-basemap-toggle slot="bottom-right" next-basemap="arcgis/imagery"></arcgis-basemap-toggle>
</arcgis-map>
3 collapsed lines
</body>
</html>
Get startedView all tutorials

Learn what you can build

Explore the wide variety of capabilities in the SDK with sample code and showcase applications.

AI Assistant component
Add natural-language map interactions with the ArcGIS Assistant component.
Gaussian Splat layer for realistic 3D geometries
Show highly realistic 3D environments with Gaussian Splat layers.
Editing component
Create and update features quickly with the Editor component.
3D Model Upload
Upload and position custom 3D models directly in your scene.
A map visualizing hurricane data and their tracks
Explore features in real-time or historically over time with track visualization.
A map visualizing feature layer queries
Build interactive workflows with client-side spatial queries and statistics.
A scene visualizing viewshed analysis
Perform interactive viewshed analysis in a 3D scene.
An application visualizing mountain lion habitat suitability factors in the greater Los Angeles area
Analyze habitat suitability with performant client-side raster functions.
An application visualizing hiking trails in the Swiss National Park
Create a 3D experience with your 2D data using Esri’s 3D basemap and analytical tools.

What’s in this guide

Mapping and data visualization

Maps

Display 2D maps from a web map.

Scenes

Display web scenes and 3D maps.

Data layers

Access and display your data in layers from a variety of sources.

Query and filter

Query features from your data layers using spatial and attribute filters.

Data visualization

Style 2D and 3D features for better visual story telling.

Feature edits

Edit features in your data layers using a Feature Service or the Editor component.

Charts

Create charts to visualize your data with charts components.

Analysis and AI

Agentic mapping applications

Build mapping applications with AI components.

Spatial analysis

Perform feature analysis with geometry operators and the Spatial analysis services.

Utility network

Display a utility network, view associations, and configure traces.

Knowledge graph

Display and interact with your knowledge graph in mapping applications.

Location services

Basemap styles

Display a map with the ArcGIS Basemap Styles service.

Geocoding

Search for addresses and more with the Search component.

Routing

Find routes and directions with the Directions component.

Places

Search for places near a location with the ArcGIS Places service.

Data enrichment

Get local facts and demographic data with the ArcGIS GeoEnrichment service.

NextGet started
Product support
Was this page helpful?
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.