Version 4.31 was the last release of this package.
Use components or the @arcgis/core ES modules package, instead. See the Get started with npm guide topic for more information.
A minified, unbuilt version of the ArcGIS Maps SDK for JavaScript AMD modules.
npm install arcgis-js-api
The TypeScript type definitions are bundled with the install and there are two ways to include them. The first way is to include a ///
directive in your main TypeScript file:
main.ts
/// <reference types="arcgis-js-api" />
Or, add a reference to the declaration file in the include
of your tsconfig.json
:
tsconfig.json
{
"include": ["node_modules/arcgis-js-api/index.d.ts", "src/**/*.ts", "src/**/*.tsx"]
}
Use of the ArcGIS Maps SDK for JavaScript is subject to System Requirements, and the terms described in the product-specific Terms of Use. Learn more about licensing here.
- ArcGIS Maps SDK for JavaScript
- http://blogs.esri.com/esri/arcgis/tag/javascript/
- twitter@EsriDevs
- General questions about using these modules or the ArcGIS Maps SDK for JavaScript? See the Esri developer community.
COPYRIGHT © 2024 Esri
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
email: contracts@esri.com