Directions Widget (Beta)
If you’re taking a trip to parts unknown, then the Directions widget is right for you. Currently in beta, this widget calculates directions between two or more locations and makes it easy to add turn-by-turn directions to a page as well as a route on a map. The widget defaults to the ArcGIS Online route service but can be configured to use any ArcGIS Server Network Analyst routing service. To explore further, see the Directions sample.
3D Measurement Widget
3D measurements have never been easier or more fun than they are now, with the new DirectLineMeasurement3D widget. You can measure the vertical, horizontal, and direct distance between two points. When the widget is active, a horizontal “laser” line is drawn which indicates the height at the current mouse position. This line can help in analyzing the heights of objects relative to each other and the terrain. The Direct line measurement in 3D sample shows how to use this widget.
Layer Refresh Interval
Keep your maps in sync with the latest data while the map is open by using a refresh interval. For example, you might have a map with a damage assessment feature layer that field workers update every few minutes. Using a refresh interval with this damage assessment layer helps your office team see the latest feature data from the field while keeping the map open in their browser, desktop, or device. If you have multiple layers configured with the same refresh interval duration, they will be updated at the same time.
2D WebGL FeatureLayer Progress
Simply put, WebGL allows more data to be displayed faster. We are continuing to improve the user experience for the 2D WebGL-rendered version of FeatureLayer, which is still in beta. At 4.6, some of the processing in the layer has moved to workers using the API’s workers framework.
Improved Compatibility with ES6 Promises
Support for Geometry Operations in Arcade with 3.23
Arcade expressions now support geometry operations that allow you to perform overlay, proximity, topological relationship testing, and measurement operations. We added the Create a Geofence with Arcade sample to demonstrate how you can drive visualization based on on-the-fly geometric operations; in this case when city buses enter the downtown LA area.
Not every update is just about the applications; we also made a few special modifications to our SDK to make the website easier to use. We added Keyboard Accessibility support to Home, Guide, API Reference, Sample Code, and Sandbox. Use
Shift ? to display the help menu on each page.
Explore the release notes and new samples to learn more about what’s new in the API, such as: the full screen widget which lets users expand your app to full screen, updates to vector basemaps, arrow marker symbols, KMLLayer updates, and more.