# jsapi-resources **Repository Path**: xinxin2017/jsapi-resources ## Basic Information - **Project Name**: jsapi-resources - **Description**: No description available - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-08 - **Last Updated**: 2024-04-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README jsapi-resources =============== A collection of resources for developers using the [ArcGIS Maps SDK for JavaScript](https://js.arcgis.com). Refer to the README files in each subdirectory for specific instructions on how to use a particular resource. ## ES modules (ESM) samples The Maps SDK's ES modules are available through the [`@arcgis/core`](https://www.npmjs.com/package/@arcgis/core) package on NPM. TypeScript definitions are included in the install. Below are a collection of samples that provide _proof-of-concept_ for using `@arcgis/core` with a variety of popular JavaScript build tools, frameworks and module bundlers. * [Angular CLI](./esm-samples/jsapi-angular-cli/) * [ArcGIS ESM CDN](./esm-samples/jsapi-esm-cdn/) * [Custom workers](./esm-samples/jsapi-custom-workers/) * [Custom UI](./esm-samples/jsapi-custom-ui/) * [Deno](./esm-samples/jsapi-deno/) * [esbuild (no framework)](./esm-samples/esbuild/) * [Node.js](./esm-samples/jsapi-node/) * [OAuth](./esm-samples/jsapi-oauth/) * [React/Vite](./esm-samples/jsapi-react/) * [Rollup.js (no framework)](./esm-samples/rollup/) * [Vue.js/Vite](./esm-samples/jsapi-vue/) * [Vite/TypeScript](./esm-samples/jsapi-vite-ts/) * [Webpack (no framework)](./esm-samples/webpack/) ## HTML OAuth callback If you have set OAuthInfo's [`popup`](https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-OAuthInfo.html#popup) property to `true`, you'll need to host a [callback page](./oauth/) on your server. For more information, visit the Maps SDK's [Access secure resources](https://developers.arcgis.com/javascript/latest/secure-resources/)] guide topic. ## AMD TypeScript declaration files (Deprecated) The AMD TypeScript `.d.ts` files are deprecated at 4.29 and the final update will be 4.31. The last several files can be downloaded from this [repo](./typescript/README.md). The NPM `.d.ts` files can be installed via the [`arcgis-js-api`](https://www.npmjs.com/package/arcgis-js-api) package, which was also deprecated at 4.29. Use the [`@arcgis/core`](https://www.npmjs.com/package/@arcgis/core) package instead. ## 3.x samples (Deprecated) The deprecated 3.x Bower and TypeScript samples can be downloaded or [checked out](https://git-scm.com/book/en/v2/Git-Basics-Tagging) via the [`legacy` releases tag](https://github.com/Esri/jsapi-resources/releases/tag/legacy). ## Contributing Please see our [guidelines for contributing](CONTRIBUTING.md). ## Licensing Copyright 2024 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. A copy of the license is available in the repository's [license.txt](https://github.com/Esri/jsapi-resources/blob/master/license.txt) file.