arcgis-js-api

ArcGIS API for JavaScript: A complete 2D and 3D mapping and data visualization API

Usage no npm install needed!

<script type="module">
  import arcgisJsApi from 'https://cdn.skypack.dev/arcgis-js-api';
</script>

README

arcgis-js-api

A minified, unbuilt version of the ArcGIS API for JavaScript AMD modules.

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 and examples are available in the SDK's Build with AMD modules Guide page.

npm install arcgis-js-api

TypeScript Typings

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"
  ]
}

Requirements

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.

Resources

Issues

Licensing

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