Welcome to the next version of the ArcGIS Maps SDK for JavaScript (4.26). This version of the SDK is currently in development and will be updated frequently until the production release in February 2023. 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 or @arcgis/core@next
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.
Use CDN or npm to try the next version.
To test the 'next' version using the hosted version, simply reference the SDK and CSS from our CDN 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>
The next
version of the CDN is not available for download.
To test the next
version with npm, use npm install @arcgis/core@next
. More information is available in the SDK's Introduction to tooling guide topic.
If you are using esri-loader to load AMD modules, 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);
Typings are included with the npm install of @arcgis/core@next
ES modules. For most use cases, no special TypeScript configurations are required.
The typings are also included with arcgis-js-api@next
AMD modules, and they can be used in two ways.
For more information on using the triple-slash directive refer to the TypeScript documentation.
main.ts
/// <reference types="arcgis-js-api" />
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"
]
}
Report issues with next version at https://github.com/Esri/feedback-js-api-next/issues/new/choose
- Bugs: Bug reports should be specific to js.arcgis.com/next and not present in the current API release.
- Enhancements: For this initiative, enhancement requests should be specific to a feature in js.arcgis.com/next.
Copyright 2022 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.