arcgis-js-api
A minified, unbuilt version of the ArcGIS API for JavaScript.
Features
You can install these modules via npm and create your own custom builds, for example, with Webpack, RequireJS or the Dojo Toolkit.
Instructions
Additional instructions are available in the jsapi-resources repoistory.
npm install arcgis-js-api
TypeScript Typings
You can use the typings included with arcgis-js-api
two ways.
///
directive in your main TypeScript file.
Include a // main.ts
/// <reference types="arcgis-js-api" />
include
of your tsconfig.json
.
Or add to the // tsconfig.json
{
"compilerOptions": {},
"include": [
"node_modules/arcgis-js-api/index.d.ts",
"src/**/*.ts",
"src/**/*.tsx"
]
}
Requirements
Building apps with the ArcGIS API for JavaScript requires signing up for a ArcGIS Developer Subscription.
Resources
Issues
- General questions about using these modules or the ArcGIS API for JavaScript? See the GeoNet developer community.
- Technical support.
Licensing
COPYRIGHT © 2020 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