Version 4.32 is here. There are bug fixes, enhancements, and new functionality. By the numbers: we fixed 23 bugs, made 17 enhancements, added or updated 21 samples, and optimized 12 components.
Components.
What are components? As the kids say, IYKYK, which loosely translates to, “If you get it, you get it”. Let’s break it down a bit (skip ahead if you’re already in the know). Components are a better way to reuse code, and can also be a better way to code.
Here’s an agnostic source to reference:
https://developer.mozilla.org/en-US/docs/Web/API/Web_components
Here’s a really handy migration page that documents helpful concepts:
https://developers.arcgis.com/javascript/latest/migrating-to-components/
Here’s the transition guide to help move from widgets to components:
https://developers.arcgis.com/javascript/latest/components-transition-plan/
And, we have a really awesome blog post coming soon from @JuliePowell that I will share a link to here after it gets posted on the ArcGIS Blog site:
You can also go to the Tutorials and discover how many of them we migrated to use components:
https://developers.arcgis.com/javascript/latest/tutorials/
Want something beefier than a tutorial? Check out how many samples we got updated too:
https://developers.arcgis.com/javascript/latest/sample-code/?tagged=map-components
Oh I know, you’re like what’s up with the SDK Reference?
Well, we put the Core API and the Components on the same page. Pretty handy, right? So much easier and nicer. Thanks Lloyd.
Display filters.
You want like the power of a definition expression, but to only affect the visibility on the map and not the filter the data from the source? That’s what a display filter is for. It’s new and it’s fabulous (and yes, it is now supported by the print service).
https://developers.arcgis.com/javascript/latest/sample-code/display-filter/
New highlights, no lowlights.
Features can now be highlighted with different colors based on stuff. Used to be only one, now it can be more.
https://developers.arcgis.com/javascript/latest/release-notes/#enhanced-highlights-api
Tracking.
We all have histories. Especially time aware layers. Visit or revisit those histories across time and space (and no, not currently supported by the print service).
https://developers.arcgis.com/javascript/latest/release-notes/#track-rendering-beta
Heading in the right Directions.
Directions UI is updated with Calcite. Can now add/move/delete stops and polyline barriers. There’s probably a really good official blog post about this coming out soon; I will link to it here later.
https://developers.arcgis.com/javascript/latest/sample-code/widgets-directions/
Knowledge Graphs and Web Link Charts.
Knowledge graphs allow you to model real-world systems that connects both spatial and nonspatial data. Also included are knowledge graph layers, which represent knowledge graph data on a map to enhance visualization and analysis.
Additionally, web link charts contain a link chart layer with the data from your knowledge graph and are loaded in a link chart view. Web link charts are a new view (like MapView and SceneView) that is specifically for visualization knowledge graphs.
https://developers.arcgis.com/javascript/latest/release-notes/#knowledge-graphs-and-web-link-charts
Editing has only one “t”.
Editting is the sort of word I misspell constantly. But wow, the Editing team installed some heavy work this release. Like enhancing workflows to accommodate layers and sublayers and types and subtypes and sublayers of subtypes and like group tables, oh my... You can share editing templates now, you can use the new drawing toolbar in the Editor widget, and there’s even snappy support for those new display filters. AND YOU CAN ADD AND/OR DELETE UTILITY NETWORK ASSOCIATIONS NOW?! I just read through the release notes and I can’t believe how much work we got done. Take a look.
https://developers.arcgis.com/javascript/latest/release-notes/#editing
Operating geometrically.
Those smooth geometry operators that came out in beta at 4.31 and coming out of beta at 4.32. We have a guide page for them. Essentially, did you use geometry engine? Then please read this because you’ll want to migrate… smoothly.
https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/
Tired of reading this?
Understandable, we released a lot. But, there are a still a TON of more updates at 4.32. As an example, here is what is left in the TOC from the release notes that we haven’t covered yet:
Head to the release notes to learn more.
https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html
References.
Release Blog
4.32 Release Notes
https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html
4.32 Samples
https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.32
Tips for migrating to Components
https://developers.arcgis.com/javascript/latest/migrating-to-components/
Blog for migrating to Components
Breaking Changes across all 4x releases
https://developers.arcgis.com/javascript/latest/guide/breaking-changes/index.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.