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
- OAuth
- React/Vite
- Rollup.js (no framework)
- Vue.js/Vite
- Vite/TypeScript
- Webpack (no framework)
If you have set OAuthInfo's popup
property to true
, you'll need to host a callback page on your server. For more information, visit the Maps SDK's Access secure resources] guide topic.
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. The NPM .d.ts
files can be installed via the arcgis-js-api
package, which was also deprecated at 4.29. Use the @arcgis/core
package instead.
The deprecated 3.x Bower and TypeScript samples can be downloaded or checked out via the legacy
releases tag.
Please see our guidelines for contributing.
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 file.