|
POST
|
Unfortunately, if you modify the sources, you'll need the geocoding url as well. I think some devs put constants in a separate file if that helps. The doc for countryCode looks right to me. Both "US" and "SE" seem to work fine. Can you explain what you think should be updated?
... View more
02-25-2026
12:28 PM
|
0
|
2
|
590
|
|
POST
|
@timtucker-dte - thanks for the post. The typings changed here a bit it looks like. Can you check the doc and see if this makes things more clear? contraints example: https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#constraints type: https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/
... View more
02-25-2026
09:22 AM
|
0
|
1
|
1134
|
|
POST
|
The documentation and announcements are live today! https://developers.arcgis.com/javascript/latest/release-notes/ https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-maps-sdk-for-javascript-whats-new-in-5-0 https://community.esri.com/t5/arcgis-javascript-maps-sdk-blog/arcgis-maps-sdk-for-javascript-version-5-0-release/ba-p/1686211
... View more
02-24-2026
07:17 AM
|
2
|
2
|
1169
|
|
BLOG
|
We’re on to version 5.0. The previous version was 4.34. It’s a semantic versioning thing, not a paradigm shifting thing. However, we did take this opportunity to re-assess and re-tool as we move forward with web components. By the numbers: we fixed 27 bugs, made 14 enhancements, updated 100s of samples (and added some new ones too), added 4 new map components, refactored 6 map components, released 10 legacy components, and added 1 new amazing script tag and URL. What? A script tag and a URL are worthy of the release blog? Yeah, because it’s amazing. At 4.34, to work with the core API and components and get the nice Calcite styling, you might have used multiple script tags and URLs like this: <!-- Load Calcite components from CDN -->
<script type="module" src="https://js.arcgis.com/calcite-components/3.3.3/calcite.esm.js"></script>
<!-- Load the ArcGIS Maps SDK for JavaScript from CDN -->
<script src="https://js.arcgis.com/4.34/"></script>
<!-- Load Map components from CDN -->
<script type="module" src="https://js.arcgis.com/4.34/map-components/"></script> But now, you only need 1 script tag and URL: <!-- Load the ArcGIS Maps SDK for JavaScript from CDN -->
<script type="module" src="https://js.arcgis.com/5.0/"></script> Whoa, that’s pretty cool. Note: this is a breaking change (more on that topic later), but if you want the old behavior, and to only load the core API (not components), you can do this: <!-- Load the core ArcGIS Maps SDK for JavaScript from CDN -->
<script type="module" src="https://js.arcgis.com/5.0/core.js"></script> Back to version 5.0. In the Fall of 2025, we discussed about this move to semantic version: JavaScript Maps SDK is moving to semantic versioning! https://community.esri.com/t5/arcgis-javascript-maps-sdk-blog/javascript-maps-sdk-is-moving-to-semantic/ba-p/1656908 ArcGIS Maps SDK for JavaScript is Moving to Semantic Versioning https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-maps-sdk-for-javascript-is-moving-to-semantic-versioning With semantic versioning, major releases contain breaking changes, and minor releases do not. Version 5.0 will have breaking changes, and then versions 5.1 and 5.2 will not. Around this time next year, we will release version 6.0, and that will have breaking changes, and then versions 6.1 and 6.2 will not. When 5.1 releases, you can update the version number and things can only get better. But still, read the release notes. We updated the Programming Patterns guide for 5.0, so this is an ideal time to review all the best practices. https://developers.arcgis.com/javascript/latest/programming-patterns/ Speaking of best practices, here’s a new one to share. AMD and "require()" are deprecated at version 5.0 and will be removed at version 6.0. So, if you’re using the CDN version, use "$arcgis.import" (available since version 4.28 via CDN) instead. https://developers.arcgis.com/javascript/latest/programming-patterns/#set-the-portalurl-in-a-cdn-application There have also been some changes to how we import types. The "__esri" namespace is no longer supported for importing types (will be removed at 6.0). Please use individual ESM imports to directly import types from their respective module files instead. There’s a codemod linked to in the release notes that can help with the refactor. https://developers.arcgis.com/javascript/latest/release-notes/#typescript-import-changes Let’s do some SDK focused updates now. References now contains 50% more components (based on number of sections)! You read that right. We added ai-components and common-components at this release, and you can now find them in our References page. But that’s not all. If you expand the map-components section, you’ll see that we updated the documentation to make the information clearer and more logical. All components now use a lowercase kebab-style naming convention, and some types have been moved into sections directly below their component. This is part of our progress to transition from widgets to web components (all widgets are now deprecated as of version 5.0). I know it’s a lot already, but let’s do one more SDK update, and then we’ll look at some API features. The Sample Code page was enhanced with a much more robust search experience. You can now search by title and/or tag, and it is so fast and nice. Here’s an example of searching for a sample that does some editing, but it doesn’t matter if it’s using a method or a component to do the work, so I filter by the “applyEdits” tag (instead of “Editor” by title): Or, I could search for samples that have “Basemap” in their title, because I remember there was a neat sample I had seen with “Basemap” in the title. And I also need that example to use API keys. Now, I can search for both at the same time: Want to see something even cooler? Open a sample, and then look at the wonderful new UI. On one page you have the description, the code, and the app, with a couple delightful rows of buttons (in the top-right) to help you toggle on/off parts of the page, or to modify the app’s state. Now, we’ve covered a lot of ground, but there is a lot left in the 5.0 release (like, all the new API features). But we don’t a lot of time to cover it all. Here is a sampler plate of release highlights; please refer to the release notes and release blog for the whole story. If you’re working with curves (like true curves), then you will love the editing and snapping updates we made. FeatureTable got mega updates with contingent attribute value constraints and better saving and attachment experiences. The new SelectionManager (beta) manages feature selection across layers and tables within a MapView or SceneView. 3D scenes now support light-emitting visualization through emissive material properties and a global Glow effect. The new GaussianSplatLayer is a 3D layer type that provides photorealistic visualization of complex built and natural environments. AI components (beta) are here and really cool, read more about them here: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/introducing-ai-components-beta-in-the-js-maps-sdk We added 4 brand new map components: Link Chart Nonspatial Visibility Toggle, Snapping Controls, Utility Network Trace Analysis, and Volume Measurement (beta). The Oriented Imagery Viewer component interface has been redesigned to deliver a more streamlined and intuitive user experience. Elevation Profile, and Shadow Cast components have been refactored to utilize the ElevationProfileAnalysis and the ShadowCastAnalysis. Similarly, Volume Measurement (beta) was created as a new component on top of VolumeMeasurementAnalysis. The Popup component (beta) can now be used as the default popup for the Map, Scene, and Link Chart components by setting the popup-component-enabled attribute. The Directions component now allows users to fine-tune routes with waypoints in a familiar “drag-and-drop” experience. We enhanced printing to deliver a better user experience with several new capabilities, the biggest of which is probably enabling Dynamic Legends. We also enhanced polygon labeling by enhancing how labels are automatically repositioned when a polygon’s centroid is partially or fully out of view. And more… there is so much more… In closing, read the release notes and check your travel plans, because the Esri Developer & Technology Summit is happening on March 10 – 13. We hope to see you there, either in-person or online. We can tell you more about 5.0 then. https://www.esri.com/en-us/about/events/devtech/overview References Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-maps-sdk-for-javascript-whats-new-in-5-0 Introducing AI components (beta) in the ArcGIS Maps SDK for JavaScript https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/introducing-ai-components-beta-in-the-js-maps-sdk Calcite Release Blog https://www.esri.com/arcgis-blog/products/developers/announcements/calcite-design-system-5-0-released 5.0 Samples https://developers.arcgis.com/javascript/latest/sample-code/?tagged=5.0 Breaking Changes https://developers.arcgis.com/javascript/latest/release-notes/ - breaking-changes ArcGIS Maps SDK for JavaScript is Moving to Semantic Versioning https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-maps-sdk-for-javascript-is-moving-to-semantic-versioning Esri Developer & Technology Summit [March 10 - 13, 2026] https://www.esri.com/en-us/about/events/devtech/overview
... View more
02-24-2026
07:15 AM
|
11
|
2
|
2468
|
|
POST
|
Hi @ForrestLin, thanks for your post, and thanks for paying such close attention to our releases! We are in the final stages of our release process, and we usually don't update our documentation until the official announcement goes out. Please stay tuned for our release announcements (coming this week), both on the ArcGIS Blog site and on this site.
... View more
02-23-2026
09:07 AM
|
1
|
0
|
1213
|
|
POST
|
Hi @LouisaMeyerson, thanks for posting your question here. Good timing; it looks like this will be addressed at the upcoming release. Keep your eyes open for release information coming later this month.
... View more
02-18-2026
07:07 AM
|
0
|
0
|
262
|
|
POST
|
Thanks for following-up and posting the resolution. Glad to hear everything is proper now 🙂
... View more
02-16-2026
07:53 AM
|
1
|
0
|
589
|
|
POST
|
Hi @nomid, thanks for posting your question here. It would be great if you could share a simplified repro app (here or in a private message) so I could do some testing. Other things to try would be: 1) try loading the geoJSON layer in the map constructor instead of adding it to the map separately, 2) try another layer or layer type and see if that makes a difference in your app. Also, are there any console warnings or errors in the browser?
... View more
02-12-2026
07:43 AM
|
1
|
1
|
621
|
|
POST
|
Hi @ToddRunstein, thanks for posting your question/story here. I haven't worked much with "externalRenderers", but in looking at the past doc, it looks like this functionality was only for 3D SceneViews. So I'm not sure how you were using these in 2D, or what your question is (perhaps you are just looking for anything to render your data?). Can you share a bit more about your use case and question?
... View more
02-12-2026
07:16 AM
|
0
|
1
|
359
|
|
POST
|
Hey @SREEKUMARPR, thanks for the message. If your issue is specific to DistanceMeasurement2D or AreaMeasurement2D widgets, this should be resolved with a more recent version of the ArcGIS Maps SDK for JavaScript. Version 4.26 is currently is mature support. https://developers.arcgis.com/javascript/latest/release-notes/
... View more
02-03-2026
01:09 PM
|
0
|
0
|
652
|
|
IDEA
|
02-03-2026
08:54 AM
|
0
|
0
|
733
|
|
IDEA
|
Thanks for the update @MatthewDriscoll. I think that makes sense. This is still an area of active development for us, so I think you will continue to see better behavior and styling with our components. I'll close this idea, but we're always open to feedback.
... View more
02-03-2026
08:53 AM
|
0
|
0
|
734
|
|
POST
|
Hi @MatthieuThery1, thanks for sharing your issue here. Do you have a simplified repro case (hosted on codepen or somewhere) that we could take a look at?
... View more
02-03-2026
08:38 AM
|
0
|
1
|
289
|
|
POST
|
Hi @SvitlanaBilan, good news! We found the cause of the issue, and this will be resolved at the next release (expected in late February or early March).
... View more
02-02-2026
08:33 AM
|
1
|
1
|
444
|
|
IDEA
|
Hi @4andy, thanks for posting your idea here. I'm not sure I follow 100%. Can you explain more about the webmap UI, are where you are wanting to modify this information? Also, please explain what problem you are trying to solve with the dynamic IDs, perhaps we have workflows that would help developers with this already.
... View more
01-29-2026
11:29 AM
|
0
|
0
|
802
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 11:59 AM | |
| 1 | 05-13-2026 10:29 AM | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM | |
| 1 | 03-23-2026 09:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|