A collection of resources for developers using the ArcGIS Maps SDK for JavaScript. Refer to the README files in each subdirectory for specific instructions on how to use a particular resource.
The Maps SDK's ES modules are available through the @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
- ArcGIS ESM CDN
- Custom workers
- Custom UI
- Deno
- Node.js
- React/Vite
- Rollup.js (no framework)
- Vue.js/Vite
- Vite/TypeScript
- Webpack (no framework)
The TypeScript .d.ts
files for the last several releases of the Maps SDK's AMD modules can be downloaded from this repo. Or, you can NPM install the arcgis-js-api
package and the TypeScript definitions are included.
If you have set OAuthInfo's popup
property to true
, you'll need to host a callback page on your server. This repo contains an example callback page. For more information, visit the Maps SDK's [Access secure resources(https://developers.arcgis.com/javascript/latest/secure-resources/)] guide topic.
Legacy 3.x Bower and TypeScript samples can be downloaded or checked out via the legacy
releases tag.
Please see our guidelines for contributing.
Copyright 2023 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 file.