The 3.14 version of the ArcGIS API for JavaScript is now available, which adds more than 30 new classes, dozens of bug fixes, and other enhancements to the API. You can see a complete list of these improvements and bug fixes in the What’s new in Version 3.14 Guide topic.
Let’s take a look at some of these new features.
Renderer enhancements
Several renderer enhancements were made to the API including scale-driven sizing for polygons and their outlines when calling smartMapping.createSizeRenderer(). Also the new BlendRenderer class (beta) was added to the API, providing another option for visualizing complex spatial patterns in your data. BlendRenderer allows you to easily identify the predominant attribute among two or more competing attributes of a feature and visualizes the strength of that predominance using blended colors.
In the image below, for example, the blue features represent areas that predominantly contain owner-occupied housing while the red features are mostly composed of renter-occupied housing units. Areas shaded with a light purple color, however, are composed of a near-even mix of owner-occupied and renter-occupied housing units. Thus areas with a high occurrence of one attribute will be rendered with strong opposing colors (in this case blue or red) while areas with nearly equal occurrences of the opposing attributes will blend the opposing colors (in this case purple).
For more information on how this works, see the API reference for BlendRenderer and the new samples that use it. This class is currently in beta.
New widgets
Four widgets were added to the API in the 3.14 release – ImageServiceMeasure, ObliqueViewer (beta), ElevationProfile (beta) and LayerList (beta).
The ElevationProfile Widget allows you to view the elevation profile along a line feature. See this sample for a live look at it.
The LayerList widget provides a convenient way for users to toggle layers on and off. View the new LayerList sample to try it out.
WFS layer support
The new WFSLayer (beta) adds support for OGC Web Feature Services (WFS). For more information about how to use WFS layers in the ArcGIS API for JavaScript, see the API reference and the WFSLayer sample.
ImageServer enhancements
New measuring capabilities have been added to the API for ImageServices. The ImageServiceMeasure widget and ImageServiceMeasureTool, for example, allow you to measure areas, perimeters, distances, and angles in image services. The ObliqueViewer widget allows you to view image services from oblique views, which minimizes distortion. It also gives you the ability to observe the same imagery from different angles.
Also, RasterLayer and PixelBlock are no longer in beta.
Extending Operations Dashboard
Support was added for extending Operations Dashboard through the new OpsDashboard classes. See the new guide topics about how to get started with creating and deploying custom extensions.
DataReviewer
The new DataReviewer classes allow you to take advantage of ArcGIS Data Reviewer for Server tasks that add data quality control features to your application. Some of these features include automated data validation using rules authored in ArcMap, data quality tracking and reporting, and an iterative correction process.
See the What’s new in Version 3.14 Guide topic for additional information about upgrades to other resources and a more detailed listing of API enhancements.
Commenting is not enabled for this article.