Skip to content

Esri/feedback-js-api-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

ArcGIS Maps SDK for JavaScript - next

Current build version

https://js.arcgis.com/next

Welcome to the next version of the ArcGIS Maps SDK for JavaScript (4.30). This version of the SDK is currently in development and will be updated frequently until the production release in June 2024. Try out new features, perform regression testing, and get a feel for the next release - then share your feedback with the development team. Please make sure that bugs and enhancement requests are specific to https://js.arcgis.com/next, @arcgis/core@next or @arcgis/core@rc and not applicable to a released version.

Please note: ArcGIS Maps SDK for JavaScript release management is dynamic. Some new features and updates that appear in js.arcgis.com/next might not be present in the final production release due to a variety of factors (but will likely be present in an upcoming release).

Read about the current version of the SDK at https://developers.arcgis.com/javascript/.

Read the CHANGELOG.md to find about new functionality, bug fixes and any breaking changes in the next version.

Instructions

Use CDN or npm to try the next version.

CDN

To test the next version using the ArcGIS CDN, simply reference the SDK and CSS to start using them in your app.

<link rel="stylesheet" href="https://js.arcgis.com/next/esri/themes/light/main.css">
<script src="https://js.arcgis.com/next/"></script>

Only production CDN builds are available for download.

npm

To test the next version with npm, use npm install @arcgis/core@next. For npm, jsDelivr is used to host the next CSS:

@import "https://cdn.jsdelivr.net/npm/@arcgis/core@next/assets/esri/themes/light/main.css";

More information is available in the SDK's Build with ES modules guide topic.

TypeScript typings for ES modules

Typings are included with the npm install of @arcgis/core. For most use cases, no special TypeScript configurations are required.

TypeScript typings for AMD modules (deprecated)

The typings for use with AMD modules in local builds are deprecated since 4.29. They are included with the install of the npm package arcgis-js-api, and can be used in two ways.

Include a /// directive in your main TypeScript file.

For more information on using the triple-slash directive refer to the TypeScript documentation.

main.ts

/// <reference types="arcgis-js-api" />

Or add to the include of your tsconfig.json.

For more information on using tsconfig.json refer to the TypeScript documentation.

tsconfig.json

{
  "include": [
    "node_modules/arcgis-js-api/index.d.ts",
    "src/**/*.ts",
    "src/**/*.tsx"
  ]
}

esri-loader - (Deprecated)

esri-loader is deprecated since 4.29.

Use options.version and specify next as the value. You can also lazy-load js.arcgis.com/next/esri/themes/light/main.css by adding the css: true option, or you can use any of the other methods supported by esri-loader instead.

const options = {
  version: 'next',
  css: true
};
const [Map] = await loadModules(['esri/map'], options);

Licensing

Use of the ArcGIS Maps SDK for JavaScript is subject to the terms and conditions described in SDK's Licensing & Attribution guide page: https://developers.arcgis.com/javascript/latest/licensing/.

About

Try out the next release of the ArcGIS Maps SDK for JavaScript and share your feedback. Be warned: this release is still in development and is unstable.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published