A minified, unbuilt version of the ArcGIS API for JavaScript AMD modules.
You can install these modules via npm and create your own custom builds, for example, with Webpack, RequireJS or the Dojo Toolkit.
Additional instructions and examples are available in the SDK's Build with AMD modules Guide page.
npm install arcgis-js-api
You can use the typings included with arcgis-js-api
two ways. 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 API for JavaScript is subject to the terms described in the product-specific terms of use. Learn more about licensing here.
- General questions about using these modules or the ArcGIS API for JavaScript? See the Esri developer community.
- Technical support.
COPYRIGHT © 2021 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