The new projection module provides an engine for converting geometries from one spatial reference to another client-side. To see how this is done, please refer to the client-side projection sample.
The new coordinateFormatter module allows users to convert between Points and formatted coordinate notation strings.
Starting with this release, you can opt in to render FeatureLayer with WebGL. This allows you to display more data in the map and update the visualization of features more rapidly, such as a layer with more than 1 million building footprints. To enable WebGL rendering of FeatureLayer, paste the following script in your application prior to loading the ArcGIS API for JavaScript:
<script> var dojoConfig = { has: { "esri-featurelayer-webgl": 1 } }; </script>
Note: There are some scenarios in which FeatureLayer cannot be rendered in WebGL. See the FeatureLayer class description for more details about situations when a WebGL-rendered FeatureLayer will fall back to SVG rendering.
Printing has made some significant improvements at this release. The URL parser of the PrintTask is more robust to better handle custom printing services. We added the ability to print feature attributes in feature collection layers (even when they are not needed for rendering). We expanded support for printing CJKV characters. We also fixed an issue with printing layers that do not use default symbology, and instead printed "Override" in the legend (requires 10.6.0 or later PrintService). Lastly, the most recent version of ArcGIS Enterprise will be able to take advantage of several optimizations we made to the Print API.
esri/geometry/coordinateFormatter
.GeographicTransformation
.GeographicTransformationStep
.esri/geometry/projection
.DataProviderGE
.PlayerCommands
.PlayerResizeModes
.PlayerThemes
.ReportPlayer
.webglEnabled
on class
FeatureLayer
.webglEnabled
on class
Map
.webglEnabled
on class FeatureLayer
.webglEnabled
on class Map
.forceFeatureAttributes
on class PrintTemplate
..on("data-change")
on class ClassedColorSlider
..on("data-change")
on class ClassedSizeSlider
..on("data-change")
on class ColorInfoSlider
..on("data-change")
on class SizeInfoSlider
.hasUpdateError()
, hasWebGLSurface()
, setWebGLEnabled()
on class FeatureLayer
.setWebGLEnabled()
on class Map
.createPredominanceRenderer()
on object
smartMapping
now takes up to 10 input fields.supportedImageReturnType
property is set to
MIME.forceGfxRenderer:'canvas'
.Version 3.24 of the ArcGIS API for JavaScript include:
dgrid1
directory, whereas version 0.3.17 should reference the
dgrid
directory. Please refer to the
dgrid 0.4 Migration Guide for additional information on migrating to the newer version.
Use the repository on GitHub for the JS API TypeScript definitions.