Current version: 5.1 (June 2026)
This guide describes how to use the ArcGIS Maps SDK for JavaScript
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> var esriConfig = { apiKey: "YOUR_ACCESS_TOKEN", }; </script> <script type="module" src="https://jsdev.arcgis.com/5.1/"></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>Learn what you can build
Explore the wide variety of capabilities in the SDK with sample code and showcase applications.









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.
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.
Charts
Create charts to visualize your data.
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.