ArcGIS API for JavaScript 4.14 and 3.31

2500
0
12-19-2019 11:11 AM
Noah-Sager
Esri Regular Contributor
5 0 2,500

Today, we are pleased to release versions 4.14 and 3.31 of the ArcGIS API for JavaScript. Here are some of the 4.14 highlights (please refer to the 3.31 link at the end for 3.x updates).

 

The stats

We fixed 43 bugs, added 12 new classes, created 15 new samples, and tacked on 2 new guide pages.

TimeSlider with timeOffset

Cluster Blockbuster

Point clustering is now a supported method of feature reduction on FeatureLayer, CSVLayer, and GeoJSONLayer in 2D MapViews. There are some differences between the 3.x and the 4.x implementations of clustering. The 4.x version is objectively better, or will be better, as we continue to iteratively add more functionality in future releases.

https://developers.arcgis.com/javascript/latest/sample-code/index.html?search=clustering

Clustering Samples

 

Widgets

We added the Line of Sight widget to analyze visibility in your 3D scenes, and the Daylight widget to change the time and date of your 3D scenes interactively.

https://developers.arcgis.com/javascript/latest/guide/release-notes/#3d-line-of-sight-widget

 

Daylight widget

Save Those Web maps

Web maps can be easily saved to ArcGIS Online and ArcGIS Enterprise with save() and saveAs() methods. This capability is in addition to creating and stylizing web maps in ArcGIS Online and ArcGIS Pro.

https://developers.arcgis.com/javascript/latest/sample-code/webmap-save/index.html

 

Soft-edge masks with Canvas2D

Performance enhancements

  • Significantly improved GPU performance by reducing number of polygon vertices drawn.
  • When rendering vector tiles, we generate significantly fewer WebGL and JavaScript calls.
  • Improved mesh strategy reduced the number of geometries that needed to be tessellated.
  • Optimized the Basemap Gallery widget data loading behavior in 2D MapViews.
  • Switching to/from DotDensityRenderer and/or HeatmapRenderer is much, much faster.

https://developers.arcgis.com/javascript/latest/guide/release-notes/#performance-enhancements

New Guides

All the color ramps used in the Smart Mapping symbology APIs can now be easily viewed, filtered, and copied to your apps in a new Esri Color Ramps guide page.

https://developers.arcgis.com/javascript/latest/guide/esri-color-ramps/index.html

This guide, together with the new Visualization best practices guide, provides easy access to more than 300 stunning color ramps designed by color experts.

https://developers.arcgis.com/javascript/latest/guide/creating-visualizations-manually/index.html

Esri Color Ramps

 

Depreciation

We’re trying out something new this time around. Rather than sticking to the typical naughty or nice list, we’re offering a list of deprecated items to help our users get ahead of upcoming API changes.

https://developers.arcgis.com/javascript/latest/guide/release-notes/#deprecated-classes%2C-propertie...

 

And more...

Have a better time with our API with time related updates, editing updates, map navigation updates, client-side geometry updates, smart mapping updates, my goodness, tessellation updates, and more. See the release notes to get the full story.

Tessellation helpers for custom WebGL layer views

Release Blog

https://www.esri.com/arcgis-blog/products/product/announcements/whats-new-in-arcgis-api-for-javascri...

4.14 Release Notes

https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html

 

4.14 Samples

https://developers.arcgis.com/javascript/latest/sample-code/?search=4.14

 

3.31 What’s New

https://developers.arcgis.com/javascript/3/jshelp/whats_new.html

About the Author
Noah Sager is a Product Engineer on the ArcGIS Maps SDK for JavaScript team at Esri. Prior to joining Esri, he mapped utility lines around Appalachia, investigated public restroom access in Chicago, and studied foraging behavior in squirrels in Canada.